Possible Duplicate:
1 Plot, 2 Scale/Axis
Generating a broken or snipped axis in ListPlot

I have data in several ranges which I, when I plot together, is not very useful. I was thinking about removing the regions where no data exist (see data.png), e.g. shrink the plot scale in those regions.

In other words, specifying multiple ranges for the PlotRange option:

PlotRange-> {{xrange1,xrange2, xrange3},yrange}

How would I go about this?

enter image description here

  • $\begingroup$ Can you use log-type plots ? In general, if you provide the code and the data you used you'll get greater attention. $\endgroup$ Commented Dec 28, 2012 at 10:38
  • $\begingroup$ No, Log-Linear plot does not improve the situation much. $\endgroup$
    – n3rd
    Commented Dec 28, 2012 at 10:42
  • $\begingroup$ it seems making 3 plots next to each other (using GraphicsRow) would do the trick nicely? $\endgroup$
    – chris
    Commented Dec 28, 2012 at 10:49
  • $\begingroup$ @n3rd At the end of this post mathematica.stackexchange.com/questions/16574/… there is an example how to do it. $\endgroup$
    – Artes
    Commented Dec 28, 2012 at 11:01
  • $\begingroup$ if you paste howto/GeneratePlotsWithTwoVerticalScales into the help browser you'll find some code to do that. Also here it's done for data (rather than functions). $\endgroup$
    – acl
    Commented Dec 28, 2012 at 11:10


Browse other questions tagged or ask your own question.