Scaling a graph of a circle and the standard parabola in TikZ Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)TikZ: Cropping the Bounding BoxTikz Scaling and PositioningHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideTikZ: Drawing an arc from an intersection to an intersectiontikz: Scaling the unscalable — issues with a TikZ graphScaling tikz graph when pgfplots is loadedExtending a Tikz ParabolaScaling tikz graph

How to motivate offshore teams and trust them to deliver?

Stars Make Stars

Disable hyphenation for an entire paragraph

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Do I really need recursive chmod to restrict access to a folder?

Is the Standard Deduction better than Itemized when both are the same amount?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

When -s is used with third person singular. What's its use in this context?

Why are there no cargo aircraft with "flying wing" design?

Is there a "higher Segal conjecture"?

Is there a concise way to say "all of the X, one of each"?

Should I discuss the type of campaign with my players?

Sorting numerically

ListPlot join points by nearest neighbor rather than order

Did Xerox really develop the first LAN?

Why aren't air breathing engines used as small first stages

Can a non-EU citizen traveling with me come with me through the EU passport line?

How do I mention the quality of my school without bragging

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

What does '1 unit of lemon juice' mean in a grandma's drink recipe?

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

What happens to sewage if there is no river near by?

Output the ŋarâþ crîþ alphabet song without using (m)any letters

Why is "Consequences inflicted." not a sentence?



Scaling a graph of a circle and the standard parabola in TikZ



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)TikZ: Cropping the Bounding BoxTikz Scaling and PositioningHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideTikZ: Drawing an arc from an intersection to an intersectiontikz: Scaling the unscalable — issues with a TikZ graphScaling tikz graph when pgfplots is loadedExtending a Tikz ParabolaScaling tikz graph










3















The following code renders the graphs of an arc of a circle and the standard parabola on the Cartesian plane. It is ridiculously small, though. How do I magnify the display, except for the labels on the axes? (I do not want to use pgfplots.)



documentclassamsart
usepackageamsmath
usepackageamsfonts

usepackagetikz
usetikzlibrarycalc,intersections



begindocument


noindent hspace*fill
begintikzpicture
%An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
draw[fill] (0,1/2) circle (1.5pt);
draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;

endtikzpicture
hspacefill



enddocument









share|improve this question


























    3















    The following code renders the graphs of an arc of a circle and the standard parabola on the Cartesian plane. It is ridiculously small, though. How do I magnify the display, except for the labels on the axes? (I do not want to use pgfplots.)



    documentclassamsart
    usepackageamsmath
    usepackageamsfonts

    usepackagetikz
    usetikzlibrarycalc,intersections



    begindocument


    noindent hspace*fill
    begintikzpicture
    %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
    draw[fill] (0,1/2) circle (1.5pt);
    draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
    draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
    draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
    draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
    node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
    node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;

    endtikzpicture
    hspacefill



    enddocument









    share|improve this question
























      3












      3








      3








      The following code renders the graphs of an arc of a circle and the standard parabola on the Cartesian plane. It is ridiculously small, though. How do I magnify the display, except for the labels on the axes? (I do not want to use pgfplots.)



      documentclassamsart
      usepackageamsmath
      usepackageamsfonts

      usepackagetikz
      usetikzlibrarycalc,intersections



      begindocument


      noindent hspace*fill
      begintikzpicture
      %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
      draw[fill] (0,1/2) circle (1.5pt);
      draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
      draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
      draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
      draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
      node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
      node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;

      endtikzpicture
      hspacefill



      enddocument









      share|improve this question














      The following code renders the graphs of an arc of a circle and the standard parabola on the Cartesian plane. It is ridiculously small, though. How do I magnify the display, except for the labels on the axes? (I do not want to use pgfplots.)



      documentclassamsart
      usepackageamsmath
      usepackageamsfonts

      usepackagetikz
      usetikzlibrarycalc,intersections



      begindocument


      noindent hspace*fill
      begintikzpicture
      %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
      draw[fill] (0,1/2) circle (1.5pt);
      draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
      draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
      draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
      draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
      node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
      node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;

      endtikzpicture
      hspacefill



      enddocument






      tikz-pgf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 10 at 15:37









      A gal named DesireA gal named Desire

      6731411




      6731411




















          2 Answers
          2






          active

          oldest

          votes


















          5














          • I add scale option. I think scale=5 is appropriate in this case.

          • I don't use your approach to center figures. I would use figure and add a caption as well as a label instead. If you don't want a caption and a label, you should use center environment.

          • I changed a draw[fill] to fill.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt); % Note that it is not 1.5pt (fixed below)
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          Or if you want to have your image automatically resized to textwidth, have a look at the nice tikzscale package.



          beginfilecontentsmypic.tikz
          begintikzpicture
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          endfilecontents

          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          usepackagetikzscale
          usepackage[showframe]geometry
          begindocument
          beginfigure
          centering
          includegraphics[width=textwidth]mypic.tikz
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          [First code improved]



          I suggest not using a filled circle for coordinate. A node is more ok I think. Also a node is not scaled by scale.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          tikzsetyour coordinate/.style=fill=black,inner sep=0.5pt,circle
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          node[your coordinate] at (0,1/2) ;
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here



          You can (should) also apply this to the second code. Btw, I think your circle is way too small.






          share|improve this answer

























          • I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

            – A gal named Desire
            Apr 10 at 15:58












          • What is the advantage of using the figure environment? I see that you used that in both codes.

            – A gal named Desire
            Apr 10 at 15:58






          • 1





            @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

            – JouleV
            Apr 10 at 16:01






          • 1





            @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

            – JouleV
            Apr 10 at 16:02






          • 1





            @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

            – JouleV
            Apr 10 at 16:15


















          4














          Another option that might help if you want to save scale for relative scaling and/or are using transform shape is just to redefine the unit vectors. In this example, this is equivalent to Joule V's suggestion, but in the above-mentioned situations it might be useful to know about this option, too.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc
          begindocument
          begintikzpicture[x=5cm,y=5cm]
          draw[fill] (0,1/2) circle (1.5pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)$x$;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)$y$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer























          • Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

            – A gal named Desire
            Apr 10 at 16:08











          • @AgalnamedDesire Yes, as can be seen from the output.

            – marmot
            Apr 10 at 16:09











          • This is a very short edit to my code to give me the display that I want.

            – A gal named Desire
            Apr 10 at 16:20











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484156%2fscaling-a-graph-of-a-circle-and-the-standard-parabola-in-tikz%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          5














          • I add scale option. I think scale=5 is appropriate in this case.

          • I don't use your approach to center figures. I would use figure and add a caption as well as a label instead. If you don't want a caption and a label, you should use center environment.

          • I changed a draw[fill] to fill.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt); % Note that it is not 1.5pt (fixed below)
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          Or if you want to have your image automatically resized to textwidth, have a look at the nice tikzscale package.



          beginfilecontentsmypic.tikz
          begintikzpicture
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          endfilecontents

          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          usepackagetikzscale
          usepackage[showframe]geometry
          begindocument
          beginfigure
          centering
          includegraphics[width=textwidth]mypic.tikz
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          [First code improved]



          I suggest not using a filled circle for coordinate. A node is more ok I think. Also a node is not scaled by scale.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          tikzsetyour coordinate/.style=fill=black,inner sep=0.5pt,circle
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          node[your coordinate] at (0,1/2) ;
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here



          You can (should) also apply this to the second code. Btw, I think your circle is way too small.






          share|improve this answer

























          • I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

            – A gal named Desire
            Apr 10 at 15:58












          • What is the advantage of using the figure environment? I see that you used that in both codes.

            – A gal named Desire
            Apr 10 at 15:58






          • 1





            @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

            – JouleV
            Apr 10 at 16:01






          • 1





            @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

            – JouleV
            Apr 10 at 16:02






          • 1





            @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

            – JouleV
            Apr 10 at 16:15















          5














          • I add scale option. I think scale=5 is appropriate in this case.

          • I don't use your approach to center figures. I would use figure and add a caption as well as a label instead. If you don't want a caption and a label, you should use center environment.

          • I changed a draw[fill] to fill.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt); % Note that it is not 1.5pt (fixed below)
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          Or if you want to have your image automatically resized to textwidth, have a look at the nice tikzscale package.



          beginfilecontentsmypic.tikz
          begintikzpicture
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          endfilecontents

          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          usepackagetikzscale
          usepackage[showframe]geometry
          begindocument
          beginfigure
          centering
          includegraphics[width=textwidth]mypic.tikz
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          [First code improved]



          I suggest not using a filled circle for coordinate. A node is more ok I think. Also a node is not scaled by scale.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          tikzsetyour coordinate/.style=fill=black,inner sep=0.5pt,circle
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          node[your coordinate] at (0,1/2) ;
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here



          You can (should) also apply this to the second code. Btw, I think your circle is way too small.






          share|improve this answer

























          • I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

            – A gal named Desire
            Apr 10 at 15:58












          • What is the advantage of using the figure environment? I see that you used that in both codes.

            – A gal named Desire
            Apr 10 at 15:58






          • 1





            @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

            – JouleV
            Apr 10 at 16:01






          • 1





            @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

            – JouleV
            Apr 10 at 16:02






          • 1





            @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

            – JouleV
            Apr 10 at 16:15













          5












          5








          5







          • I add scale option. I think scale=5 is appropriate in this case.

          • I don't use your approach to center figures. I would use figure and add a caption as well as a label instead. If you don't want a caption and a label, you should use center environment.

          • I changed a draw[fill] to fill.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt); % Note that it is not 1.5pt (fixed below)
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          Or if you want to have your image automatically resized to textwidth, have a look at the nice tikzscale package.



          beginfilecontentsmypic.tikz
          begintikzpicture
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          endfilecontents

          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          usepackagetikzscale
          usepackage[showframe]geometry
          begindocument
          beginfigure
          centering
          includegraphics[width=textwidth]mypic.tikz
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          [First code improved]



          I suggest not using a filled circle for coordinate. A node is more ok I think. Also a node is not scaled by scale.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          tikzsetyour coordinate/.style=fill=black,inner sep=0.5pt,circle
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          node[your coordinate] at (0,1/2) ;
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here



          You can (should) also apply this to the second code. Btw, I think your circle is way too small.






          share|improve this answer















          • I add scale option. I think scale=5 is appropriate in this case.

          • I don't use your approach to center figures. I would use figure and add a caption as well as a label instead. If you don't want a caption and a label, you should use center environment.

          • I changed a draw[fill] to fill.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt); % Note that it is not 1.5pt (fixed below)
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          Or if you want to have your image automatically resized to textwidth, have a look at the nice tikzscale package.



          beginfilecontentsmypic.tikz
          begintikzpicture
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          fill (0,1/2) circle (0.3pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          endfilecontents

          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          usepackagetikzscale
          usepackage[showframe]geometry
          begindocument
          beginfigure
          centering
          includegraphics[width=textwidth]mypic.tikz
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here




          [First code improved]



          I suggest not using a filled circle for coordinate. A node is more ok I think. Also a node is not scaled by scale.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc,intersections
          tikzsetyour coordinate/.style=fill=black,inner sep=0.5pt,circle
          begindocument
          beginfigure
          centering
          begintikzpicture[scale=5]
          %An arc of a circle centered at (0, 1/2) and the standard parabola are drawn on the Cartesian plane.
          node[your coordinate] at (0,1/2) ;
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)textitx;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)textity;
          endtikzpicture
          captionSome caption
          labelfig:tikzfigure
          endfigure
          enddocument


          enter image description here



          You can (should) also apply this to the second code. Btw, I think your circle is way too small.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 11 at 9:07

























          answered Apr 10 at 15:44









          JouleVJouleV

          13.9k22664




          13.9k22664












          • I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

            – A gal named Desire
            Apr 10 at 15:58












          • What is the advantage of using the figure environment? I see that you used that in both codes.

            – A gal named Desire
            Apr 10 at 15:58






          • 1





            @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

            – JouleV
            Apr 10 at 16:01






          • 1





            @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

            – JouleV
            Apr 10 at 16:02






          • 1





            @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

            – JouleV
            Apr 10 at 16:15

















          • I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

            – A gal named Desire
            Apr 10 at 15:58












          • What is the advantage of using the figure environment? I see that you used that in both codes.

            – A gal named Desire
            Apr 10 at 15:58






          • 1





            @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

            – JouleV
            Apr 10 at 16:01






          • 1





            @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

            – JouleV
            Apr 10 at 16:02






          • 1





            @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

            – JouleV
            Apr 10 at 16:15
















          I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

          – A gal named Desire
          Apr 10 at 15:58






          I agree that magnifying by 5 is appropriate. (I see that you had to manually calculate the radius of the dot indicating the center of the circle with the scale option.)

          – A gal named Desire
          Apr 10 at 15:58














          What is the advantage of using the figure environment? I see that you used that in both codes.

          – A gal named Desire
          Apr 10 at 15:58





          What is the advantage of using the figure environment? I see that you used that in both codes.

          – A gal named Desire
          Apr 10 at 15:58




          1




          1





          @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

          – JouleV
          Apr 10 at 16:01





          @AgalnamedDesire For comment (2): It is a floating environment, so you can control the position of the environment to the top of the page, the bottom, etc. with floating options. Moreover, you can make a caption and a label, so you can make a reference to the figure (e.g. We have figure 1 so...) later.

          – JouleV
          Apr 10 at 16:01




          1




          1





          @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

          – JouleV
          Apr 10 at 16:02





          @AgalnamedDesire For comment (3) (you are typing so fast :D) No. Unless your TikZ picture is in the shape of a square.

          – JouleV
          Apr 10 at 16:02




          1




          1





          @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

          – JouleV
          Apr 10 at 16:15





          @AgalnamedDesire I edited my answer. Now the radius of the dot is prevented from being scaled.

          – JouleV
          Apr 10 at 16:15











          4














          Another option that might help if you want to save scale for relative scaling and/or are using transform shape is just to redefine the unit vectors. In this example, this is equivalent to Joule V's suggestion, but in the above-mentioned situations it might be useful to know about this option, too.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc
          begindocument
          begintikzpicture[x=5cm,y=5cm]
          draw[fill] (0,1/2) circle (1.5pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)$x$;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)$y$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer























          • Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

            – A gal named Desire
            Apr 10 at 16:08











          • @AgalnamedDesire Yes, as can be seen from the output.

            – marmot
            Apr 10 at 16:09











          • This is a very short edit to my code to give me the display that I want.

            – A gal named Desire
            Apr 10 at 16:20















          4














          Another option that might help if you want to save scale for relative scaling and/or are using transform shape is just to redefine the unit vectors. In this example, this is equivalent to Joule V's suggestion, but in the above-mentioned situations it might be useful to know about this option, too.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc
          begindocument
          begintikzpicture[x=5cm,y=5cm]
          draw[fill] (0,1/2) circle (1.5pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)$x$;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)$y$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer























          • Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

            – A gal named Desire
            Apr 10 at 16:08











          • @AgalnamedDesire Yes, as can be seen from the output.

            – marmot
            Apr 10 at 16:09











          • This is a very short edit to my code to give me the display that I want.

            – A gal named Desire
            Apr 10 at 16:20













          4












          4








          4







          Another option that might help if you want to save scale for relative scaling and/or are using transform shape is just to redefine the unit vectors. In this example, this is equivalent to Joule V's suggestion, but in the above-mentioned situations it might be useful to know about this option, too.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc
          begindocument
          begintikzpicture[x=5cm,y=5cm]
          draw[fill] (0,1/2) circle (1.5pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)$x$;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)$y$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer













          Another option that might help if you want to save scale for relative scaling and/or are using transform shape is just to redefine the unit vectors. In this example, this is equivalent to Joule V's suggestion, but in the above-mentioned situations it might be useful to know about this option, too.



          documentclassamsart
          usepackageamsmath
          usepackageamsfonts
          usepackagetikz
          usetikzlibrarycalc
          begindocument
          begintikzpicture[x=5cm,y=5cm]
          draw[fill] (0,1/2) circle (1.5pt);
          draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
          draw[domain=-sqrt(3)/2:sqrt(3)/2] plot (x, x*x);
          draw[latex-latex] ($(-12.5pt,0) +(-1/sqrt(2),0)$) -- ($(12.5pt,0) +(1/sqrt(2),0)$);
          draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
          node[below right] at ($(1/sqrt(2), 0) +(12.5pt,0)$)$x$;
          node[above right] at ($(0,3/4) +(0,12.5pt)$)$y$;
          endtikzpicture
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 10 at 16:04









          marmotmarmot

          118k6152286




          118k6152286












          • Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

            – A gal named Desire
            Apr 10 at 16:08











          • @AgalnamedDesire Yes, as can be seen from the output.

            – marmot
            Apr 10 at 16:09











          • This is a very short edit to my code to give me the display that I want.

            – A gal named Desire
            Apr 10 at 16:20

















          • Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

            – A gal named Desire
            Apr 10 at 16:08











          • @AgalnamedDesire Yes, as can be seen from the output.

            – marmot
            Apr 10 at 16:09











          • This is a very short edit to my code to give me the display that I want.

            – A gal named Desire
            Apr 10 at 16:20
















          Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

          – A gal named Desire
          Apr 10 at 16:08





          Do the options x=5cm, y=5cm for the TikZ environment render coordinate (center_of_circle) at (0,1/2); as a point 2.5cm above the origin?

          – A gal named Desire
          Apr 10 at 16:08













          @AgalnamedDesire Yes, as can be seen from the output.

          – marmot
          Apr 10 at 16:09





          @AgalnamedDesire Yes, as can be seen from the output.

          – marmot
          Apr 10 at 16:09













          This is a very short edit to my code to give me the display that I want.

          – A gal named Desire
          Apr 10 at 16:20





          This is a very short edit to my code to give me the display that I want.

          – A gal named Desire
          Apr 10 at 16:20

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484156%2fscaling-a-graph-of-a-circle-and-the-standard-parabola-in-tikz%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company