Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    $\begingroup$ This may be a duplicate of (8241). That one deals with the y axis but at first glance I believe the methods given can be applied here. $\endgroup$ Commented Jan 3, 2015 at 7:51
  • 1
    $\begingroup$ This may be true; unfortunately I can't even read (parse) the code there to understand whether the undesired y-interval is being rescaled or removed altogether--the emphasis in that question is to suppress an interval but show y-ranges on either side of the suppressed interval at the same scale. Here I don't want to suppress any interval, just stretch one part of the domain relative to the rest (different scales). If those methods can be used here, I'm afraid I need a little more hand-holding to get there. $\endgroup$ Commented Jan 3, 2015 at 17:59
  • $\begingroup$ I agree. If I understand you may be able to accomplish this by creating multiple plots and (hopefully seamlessly) joining them together, therefore also see: (6877). (You would want to turn off the Frame on the joined edges.) If I have time later I may attempt an implementation. $\endgroup$ Commented Jan 4, 2015 at 3:09
  • $\begingroup$ I agree two joined plots should work. Unfortunately the code in #6877 uses no commands I know. I don't even know what @ means here. Another possibility might be the approach used in mathematica.stackexchange.com/questions/66354/… to transform the axes (in this case just the x-axis). $\endgroup$ Commented Jan 5, 2015 at 4:17
  • 1
    $\begingroup$ FYI to all, I finally achieved what I was looking for, in a manual, kludgy, non-generalizable way, by defining a transform function (in this case, f[x_] = Min[40 x/3, 80 (x - 1/4)/129 + 10/3], piecewise linear with slope change at x=1/4), using it to transform the list's x coordinates, ListPlotting the transformed list, and using FrameTicks to specify tick labels which are the inverse transforms of the apparent labels (e.g., I told it to place a tick at f[1] and label it 1). I also used FrameTicks to place a dotted vertical line at f[1/4] (labeled 1/4) to mark where the scale changes. $\endgroup$ Commented Jan 5, 2015 at 5:25