Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Split Plot Graph in Mathematica

137 views
Skip to first unread message

MaxS

unread,
Oct 21, 2011, 6:27:43 AM10/21/11
to
I have an array where the numbers increase very rapidly for the first 10 values, then essentially asymptote for the remaining 100 or so.

The best way to depict this would be as a split plot with one range/scale for the first 10 and another for the remaining values.

Is there a straightforward way to do this in Mathematica? I tried to use the GraphicsRow function, but I wasn't pleased with the results aesthetically.

Thank you, MaxS

David Park

unread,
Oct 22, 2011, 6:19:38 AM10/22/11
to
The Presentations application has general provision for this, at least for
2D Graphics.

You can see examples in the archive that Peter Lindsay of the St. Andrews
Mathematics Department keeps for me at:

http://www.st-andrews.ac.uk/~pl10/c/djmpark/

Look at the examples: Broken-axis Graph (But I added new routines since that
example), and Broken-axis Graph2.

The capability is implemented with the routines:
XTickLine and YTickLine that implement freestanding tick scales and
XAxisBreak and YAxisBreak that inserts a break symbol between the tick
scales.

There is also a CustomTicks routine so that you could use different scales
on the right and left of a frame and each one might show the ticks only
within a restricted domain on the scale. The Two Axis Plot example shows a
case, except there the entire axis is filled.

The Custom Histogram Plots is another example of building up a custom plot
using XTickLine and YTickLine. Reverse Axis Plot is an example of a custom
plot using CustomTicks.


David Park
djm...@comcast.net
http://home.comcast.net/~djmpark/
0 new messages