TJ and others have posted codes that produce vertical
cycle lines that work fine. In these cases, styleHistogram is used.
The Users Guide provides examples of codes
that produce colored areas between two variables using styleCloud and
styleClipMinMax.
I would like to plot vertical cycle lines between two
different y-axis levels. In other words:
plot(50, "", color); //y-axis value
1
plot(20, "", color); //y-axis value
2
x = barindex() % 10; //cycle
lines
plot(x, "", color, stylehistogram|styleownscale, ymin,
ymax);
The problem is defining ymin and ymax so that x
is plotted between 50 and 20. For starters, I think this requires that x
be the same % of the "own scale" y-axis as 50-20 are on their y-axis. One
knows the "own scale" % but how does one handle the 50-20 scale? Is this a
job for GFX stuff? I have played with this manually using param(), etc.
and sometimes can manage to get things to go together but it is a hit and miss
situation.
Does anyone see how to define a general _expression_ for
ymin and ymax that will do the job? Probably quite simple but not for a
non-functioning brain.
Bill
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___
|