Re: condense axis
- To: mathgroup at smc.vnet.net
- Subject: [mg103273] Re: [mg103268] condense axis
- From: "David Park" <djmpark at comcast.net>
- Date: Sat, 12 Sep 2009 07:25:58 -0400 (EDT)
- References: <23668144.1252713896870.JavaMail.root@n11>
There are probably ways to do this in regular Mathematica. One possibility is to make two plots and align them in a Column. Leave the x-scale off the top plot. Each plot would have its own y scale. The problem might be to get the correct horizontal alignment of the two plots. It the top plot has longer tick labels you may need to specify ImagePadding for both plots so they take the same space. You may get other suggestions. What I would do is use the Presentations package ($50) from my web site. There are two approaches I might use. 1) Put both functions in the same plot with an underlying y coordinate (0 to 10 say) but use Rescale to adjust the space taken by each function. I assume that the lower function might be magnified in its y coordinate. Then I would use the CustomTicks command in the package to put the lower tick scale on the left and the upper tick scale on the left. These could be specified so they only gave tick marks in the appropriate y region for each function. 2) A second method is a little like what I described above. I would use Inset to place two plots on the same "piece of paper" without using any tick scales. That makes it easy to align them. Then I would use the package functions XTickLine and YTickLine to put tick labels on the edges of the Insets. That way, we could get both tick scales on the left. David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ From: David [mailto:david.b.ridley at gmail.com] Hello, I would like to plot two functions on the same 2-D plot. One function has low values of y and the other has high values of y, so the figure is rather ugly. How can I crunch the axis with a zig-zag to condense the figure? Thank you, David