hshade

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
Ken-Cogger
Posts: 13
Joined: Wed Feb 15, 2012 7:58 pm

hshade

Unread post 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?
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: hshade

Unread post 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
Post Reply