Skip to main content
Post Closed as "Duplicate" by xzczd, bbgodfrey, CommunityBot
edit to improve readability
Source Link
Syed
  • 59.4k
  • 5
  • 40
  • 95

How to make Mathematica showlabel the origin when plotting several functions

I am plotting three functions byusing the following codescode:

Show[Plot[{2^x + 1}, {x, 3/2, 3}, PlotStyle -> Red], Plot[{x + 3}, {x, 1, 3}, PlotStyle -> Blue], Plot[{2 x^2 + 1}, {x, 1, 2}, PlotStyle -> Black], PlotRange -> All, AxesOrigin -> {1, 0}]

I find thatIn the origingenerated plot, the tick labels are absent at the chosen AxesOrigin point (1,0) does not appear in the output. How to makecan Mathematica showbe made to label the origin (1,0)?

How to make Mathematica show the origin when plotting several functions

I am plotting three functions by the following codes:

Show[Plot[{2^x + 1}, {x, 3/2, 3}, PlotStyle -> Red], Plot[{x + 3}, {x, 1, 3}, PlotStyle -> Blue], Plot[{2 x^2 + 1}, {x, 1, 2}, PlotStyle -> Black], PlotRange -> All, AxesOrigin -> {1, 0}]

I find that the origin point (1,0) does not appear in the output. How to make Mathematica show the origin (1,0)?

How to make Mathematica label the origin when plotting several functions

I am plotting three functions using the following code:

Show[Plot[{2^x + 1}, {x, 3/2, 3}, PlotStyle -> Red], Plot[{x + 3}, {x, 1, 3}, PlotStyle -> Blue], Plot[{2 x^2 + 1}, {x, 1, 2}, PlotStyle -> Black], PlotRange -> All, AxesOrigin -> {1, 0}]

In the generated plot, the tick labels are absent at the chosen AxesOrigin point (1,0). How can Mathematica be made to label the origin (1,0)?

Source Link
Ya He
  • 160
  • 7

How to make Mathematica show the origin when plotting several functions

I am plotting three functions by the following codes:

Show[Plot[{2^x + 1}, {x, 3/2, 3}, PlotStyle -> Red], Plot[{x + 3}, {x, 1, 3}, PlotStyle -> Blue], Plot[{2 x^2 + 1}, {x, 1, 2}, PlotStyle -> Black], PlotRange -> All, AxesOrigin -> {1, 0}]

I find that the origin point (1,0) does not appear in the output. How to make Mathematica show the origin (1,0)?