1
$\begingroup$

Is there a way to automatically choose the y-axes when combining plots (and in passing, why isn't that the default behaviour for Show[ plot1, plot2 ]?)

 bidPlotZoom    = Plot[ bid[u], {u, 0, 20000 }, PlotStyle -> Blue ]
 askPlotZoom    = Plot[ ask[u], {u, 0, 20000 }, PlotStyle -> Green ]

 Show[ askPlotZoom, bidPlotZoom ]

screenshot

Actually I'd settle for a manual way right now :)

$\endgroup$
3
  • 1
    $\begingroup$ Somehow WRI decided to mention that not earlier but in the last section of docs for Show. Show takes options from the first graphic. $\endgroup$
    – Kuba
    Dec 9 '14 at 5:09
  • $\begingroup$ Thanks. Still wondering why PlotRange -> Automatic isn't the default, but I'm sure there is a reason. $\endgroup$
    – Quant
    Dec 9 '14 at 5:47
  • $\begingroup$ yup, that would be a duplicate $\endgroup$ Dec 9 '14 at 8:11
0
$\begingroup$

Argh. It was just

Show[  , PlotRange-> Automatic ]
$\endgroup$

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