Re: adjusting frame size in plot
- To: mathgroup at smc.vnet.net
- Subject: [mg20297] Re: adjusting frame size in plot
- From: abraham at kodiak.demon.co.uk (Roberto Abraham)
- Date: Tue, 12 Oct 1999 03:39:33 -0400
- References: <7t8c3g$gd5@smc.vnet.net> <7trvo4$bsk@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I don't know if this fully addresses this issue, but there's a package on MathSource (MongoArray.m) that I've used in the past to make stacked plots with shared axes. I agree this is harder than it has to be though. The package on MathSource is: /Enhancements/Graphics/2D/0208-538 "Array of Framed Plots: Shared Axes or Inverted Axes" Regards, Bob Abraham abraham at ast.cam.ac.uk On 11 Oct 1999 02:23:00 -0400, Martin Heimann <martin.heimann at bgc-jena.mpg.de> wrote: >Dear colleagues, > >can I reiterate Scot's question? This is an old shortcoming of >Mathematica und I'm not aware if it has been corrected in Version 4. Look >at the simple case of two stacked diagrams: > >Show[GraphicsArray[{{Plot[Sin[x], {x, 0, 2 Pi}, > DisplayFunction -> Identity]}, {Plot[10000 Sin[x], {x, 0, 2 >Pi}, > DisplayFunction -> Identity]}}], > DisplayFunction -> $DisplayFunction] > >The fact that one cannot stack different plots over the same x-axis >without trial and error is a serious shortcoming of Mathematica. Any >decent scientific graphics package can do this! It effectively means that >one has to export the data to annother graphics package... I hope that >somebody from WRI can comment on this. Is there a workaround? or at least >something in the pipeline for the next upgrade of Mathematica? > >Cheers, >Martin Heimann > >Scot wrote: > >> I have 2 near-identical plots, one with a range from 0 to 100 and the >> other with a range from 0 to 20. As the tick label 100 is longer than >> 20, the corresponding graph has a smaller frame. >> >> How can I force the two graphs to have the same frame size using >> Mathematica 3.0? > >-- >---------------------------------------------------------------- >Max-Planck-Institut fuer Biogeochemie >Postfach 100164, D-07701 Jena, Germany >(Street Address: Tatzendpromenade 1a) > >Tel. Office: +49-3641-64-3773/3701 >Tel. Mobile: +49-170-6307299 >Fax. : +49-3641-64-3789/3710 >Email: martin.heimann at bgc-jena.mpg.de > > >