Scaling a graph of a circle and the standard parabola in TikZ The 2019 Stack Overflow Developer Survey Results Are InTikZ: 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

Are there any other methods to apply to solving simultaneous equations?

Pokemon Turn Based battle (Python)

Worn-tile Scrabble

Why is the Constellation's nose gear so long?

Can a flute soloist sit?

Are spiders unable to hurt humans, especially very small spiders?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

For what reasons would an animal species NOT cross a *horizontal* land bridge?

What do the Banks children have against barley water?

Aging parents with no investments

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Button changing it's text & action. Good or terrible?

Multiply Two Integer Polynomials

What is the meaning of the verb "bear" in this context?

Falsification in Math vs Science

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

How to deal with fear of taking dependencies

What is the accessibility of a package's `Private` context variables?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Can one be advised by a professor who is very far away?

Does the shape of a die affect the probability of a number being rolled?

Can someone be penalized for an "unlawful" act if no penalty is specified?

Time travel alters history but people keep saying nothing's changed

What do hard-Brexiteers want with respect to the Irish border?



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



The 2019 Stack Overflow Developer Survey Results Are InTikZ: 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










2















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


























    2















    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
























      2












      2








      2








      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 12 hours ago









      A gal named DesireA gal named Desire

      6681411




      6681411




















          2 Answers
          2






          active

          oldest

          votes


















          4














          • 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
          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
            11 hours ago












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

            – A gal named Desire
            11 hours ago






          • 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
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago


















          3














          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
            11 hours ago











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

            – marmot
            11 hours ago











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

            – A gal named Desire
            11 hours ago











          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









          4














          • 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
          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
            11 hours ago












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

            – A gal named Desire
            11 hours ago






          • 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
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago















          4














          • 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
          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
            11 hours ago












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

            – A gal named Desire
            11 hours ago






          • 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
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago













          4












          4








          4







          • 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
          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
          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 11 hours ago

























          answered 12 hours ago









          JouleVJouleV

          12.3k22663




          12.3k22663












          • 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
            11 hours ago












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

            – A gal named Desire
            11 hours ago






          • 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
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago

















          • 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
            11 hours ago












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

            – A gal named Desire
            11 hours ago






          • 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
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago






          • 1





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

            – JouleV
            11 hours ago
















          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
          11 hours ago






          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
          11 hours ago














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

          – A gal named Desire
          11 hours ago





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

          – A gal named Desire
          11 hours ago




          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
          11 hours ago





          @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
          11 hours ago




          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
          11 hours ago





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

          – JouleV
          11 hours ago




          1




          1





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

          – JouleV
          11 hours ago





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

          – JouleV
          11 hours ago











          3














          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
            11 hours ago











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

            – marmot
            11 hours ago











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

            – A gal named Desire
            11 hours ago















          3














          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
            11 hours ago











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

            – marmot
            11 hours ago











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

            – A gal named Desire
            11 hours ago













          3












          3








          3







          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 11 hours ago









          marmotmarmot

          117k5150282




          117k5150282












          • 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
            11 hours ago











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

            – marmot
            11 hours ago











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

            – A gal named Desire
            11 hours ago

















          • 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
            11 hours ago











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

            – marmot
            11 hours ago











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

            – A gal named Desire
            11 hours ago
















          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
          11 hours ago





          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
          11 hours ago













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

          – marmot
          11 hours ago





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

          – marmot
          11 hours ago













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

          – A gal named Desire
          11 hours ago





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

          – A gal named Desire
          11 hours ago

















          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

          Reverse int within the 32-bit signed integer range: [−2^31, 2^31 − 1]Combining two 32-bit integers into one 64-bit integerDetermine if an int is within rangeLossy packing 32 bit integer to 16 bitComputing the square root of a 64-bit integerKeeping integer addition within boundsSafe multiplication of two 64-bit signed integersLeetcode 10: Regular Expression MatchingSigned integer-to-ascii x86_64 assembler macroReverse the digits of an Integer“Add two numbers given in reverse order from a linked list”

          Category:Fedor von Bock Media in category "Fedor von Bock"Navigation menuUpload mediaISNI: 0000 0000 5511 3417VIAF ID: 24712551GND ID: 119294796Library of Congress authority ID: n96068363BnF ID: 12534305fSUDOC authorities ID: 034604189Open Library ID: OL338253ANKCR AUT ID: jn19990000869National Library of Israel ID: 000514068National Thesaurus for Author Names ID: 341574317ReasonatorScholiaStatistics

          Kiel Indholdsfortegnelse Historie | Transport og færgeforbindelser | Sejlsport og anden sport | Kultur | Kendte personer fra Kiel | Noter | Litteratur | Eksterne henvisninger | Navigationsmenuwww.kiel.de54°19′31″N 10°8′26″Ø / 54.32528°N 10.14056°Ø / 54.32528; 10.14056Oberbürgermeister Dr. Ulf Kämpferwww.statistik-nord.deDen danske Stats StatistikKiels hjemmesiderrrWorldCat312794080n790547494030481-4