Tom, I appreciate the quick response. Your example does produce a plot with
the appropriate ylimits, however the use of subplots is important for my
application since I have multiple data sets of varying size that I would
like to show on different subplots with a common set of ylimits (or
xlimits). Thanks for looking into this!
On Wednesday, October 12, 2016 at 2:23:33 PM UTC-4, Tom Breloff wrote:
> This should work as you want:
> plot([[1, 2, 4],[1,5,10,3]], layout=2, link=:all)
> There seems to be a bug with the link attribute when combining subplots.
> I'll look into it.
>> Is there a way to make the yaxis and/or the xaxis limits uniform across
>> subplots in Plots.jl?
>> For example, given the code:
>> using Plots
>> p1 = Plots.plot([1, 2, 4])
>> p2 = Plots.plot([1,5,10,3])
>> The hope would be to substitute something along the lines of
>> Plots.plot(p1,p2,layout=(1,2), layout_ylim=:auto) that would result in a
>> ymax for both subplots being 10. Similarly, something along the lines of
>> Plots.plot(p1,p2,layout=(1,2), layout_xlim=:auto) to make the xmax for both
>> subplots be 4