Page 1 of 1

hshade

Posted: Sat Dec 29, 2012 6:38 pm
by Ken-Cogger
I can't find hshade in any search of the docs.
For a simple y vs. x scatterplot, I would liketo shade values x>3.5 (say).
How do that?

Re: hshade

Posted: Wed Jan 02, 2013 6:39 pm
by TomDoan
This shades from x=-10.0 to -8.0 and from 3.5 to (effectively) infinity:

all 100
set x = %ran(4.0)
set y = %ran(4.0)
scatter(hshade=||-10.0,-8.0|3.5,999.0||)
# x y