1
$\begingroup$

How to extend the y-axis without changing the graph that is set by the interval?

ParametricPlot[ { 0.06677273831511694*(1-E^(-8.145*t)), -0.10917030600597447*(1-E^(-8.145*t))+1.2031921424186618*t },
 {t,0,2.6}, PlotRange->{{0,0.07},{0.,-3.0191292643518968`}},
 AspectRatio->1, ScalingFunctions->{None, "Reverse"} ]

enter image description here

$\endgroup$
5
  • $\begingroup$ Could you include the code to make that plot? Also, do you mean to extend the y-axis but make the plot stop at 3? $\endgroup$
    – Chris K
    May 27, 2019 at 15:54
  • $\begingroup$ ParametricPlot[ { 0.06677273831511694*(1-E^(-8.145*t)), -0.10917030600597447*(1-E^(-8.145*t))+1.2031921424186618*t }, {t,0,2.6}, PlotRange->{{0,0.07},{0.,-3.0191292643518968`}}, AspectRatio->1, ScalingFunctions->{None, "Reverse"} ] $\endgroup$
    – Art
    May 27, 2019 at 16:11
  • $\begingroup$ Is this Show[Plot[0,{x,0,0.07},PlotRange->{{0,0.07},{0.,-5}}], ParametricPlot[ ...the parametric plot you showeded... ] ] what you are looking for? $\endgroup$
    – Bill
    May 27, 2019 at 16:25
  • $\begingroup$ use PlotRange -> {{0, 0.07}, {0., -5.}}? $\endgroup$
    – kglr
    May 27, 2019 at 16:29
  • $\begingroup$ I think "include" meant edit the question. $\endgroup$
    – Michael E2
    May 27, 2019 at 17:32

1 Answer 1

3
$\begingroup$

Use PlotRange -> {{0, 0.07}, {0., -5.}} to make the vertical axis extend from 0 to 5 without affecting the range of the plotted line:

ParametricPlot[{0.06677273831511694*(1 - E^(-8.145*t)),
     -0.10917030600597447*(1 - E^(-8.145*t)) + 1.2031921424186618*t}, 
  {t, 0, 2.6}, 
  PlotRange -> {{0, 0.07}, {0., -5.}}, 
  AspectRatio -> 1, ScalingFunctions -> {None, "Reverse"}]

enter image description here

Use PlotRange -> {{0, 0.07}, {2., -5.}} to get

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.