|
Josh McCormick
2020-07-25 03:40:42
|
|
I wanted to submit a feature request. Quite a number of times I'm creating plots with variable ranges so they'll automatically zoom in and over over time, and that's what I want. But visually, it's going to make a lot more sense if there is a fixed mid-point in the graph (in my case, the zero axis line). The fixed axis will always been in the middle of the plot, and the scale above and below might scale together or independently from each other, but the central axis does not float up and down (as it does today). See the attached animated GIF showing the problem of the mid-point floating up and down the graph over time::
ANIMATED GIF:
============
https://i.imgur.com/6NDFa9E.gif
But you know what? I'm wondering... if I can split this up into two plots (one with positive values and then a second plot with just the negative values), might it be possible to merge them together as one graph but each with their own independent scales that still meet together in the middle?
Plot (0, "BASELINE", colorBlack, ChartLine, StyleWidth2|StyleHideYAxisValue);
Plot((a>0)*a, "BULLS", colorGreen|75, ChartLine, StyleHideValues|StyleHideYAxisValue|StyleDashed);
Plot((a<0)*a, "BEARS", colorRed|75, ChartLine, StyleHideValues|StyleHideYAxisValue|StyleDashed);
So might there be some combination of StyleOwnScale or StyleNoScale or other settings like MergeWithPreviousOwnScale that will allow me to mix two different plots on the same graph and have them scale independently while still meeting in the middle at the exact same fixed point? If not, a feature request is fine, please.
Thanks,
Josh McCormcik
|
|