specify a scale for values displayed on Y axis
Author: stolmax
Creation Date: 8/19/2009 10:05 PM
profile picture

stolmax

#1
I am implementing a pair trading strategy and need to print my residual values. When I try to do this, using a PrintChar() method, I get a graph that has a Y-axis starting from 0 when 0 is on the bottom of the chart. What this means is that I can not see any of the negative values. Also, is there a way to specify a scale for values displayed on Y axis. Current Y axis reading goes from 0 to 1; only positive values are visible.Is there a way to customize the Y-axis so taht data from -3 to +3 are being displayed? Thanks

Max
profile picture

Eugene

#2
Max,

To specify a scale for values on Y axis of a particular pane, use SetPaneMinMax. However, the Y axis should display whatever you throw at it. If you can show us a code snippet, we'll probably can tell what's the reason.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).