[Thread Prev][Thread Next][Index]

Symbols XAXIS_MIN, XAXIS_MAX



Hi all,

Using last 5.51, I am trying to understand
how to draw lines (dashed) over a plot on a time variable.

A typical example would be:
yes? plot my_var
yes? plot/over/vs/line {`($XAXIS_MIN)`,`($XAXIS_MAX)`},{($YAXIS_MIN),($YAXIS_MAX)}

I get what I want with
yes? plot/over/vs/line {`(($XAXIS_MIN)+($XAXIS_MIN))`,`(($XAXIS_MAX)+($XAXIS_MIN))`},{($YAXIS_MIN),($YAXIS_MAX)}

Unfortunatelly, this does not work everytime since in another plot,
I have to use
yes? plot/over/vs/line {`(($XAXIS_MIN)-($XAXIS_MIN))*60*60`,`(($XAXIS_MAX)-($XAXIS_MIN))*60*60`},{($YAXIS_MIN),($YAXIS_MAX)}

Note the tranformations on values (XAXIS_MIN, XAXIS_MAX) from seconds to hours.

So my question is: How to generalize this kind of overlay ?

Any help on this point will be greatly appreciated.
Attached a tar file with 2 examples.

Patrick

--

mailto:Patrick.Brockmann@cea.fr
01.69.08.40.09 --> LSCE (Orme des merissiers 706, Bureau 3)
01.44.27.21.10 --> IPSL (Jussieu, Tour 26, 4eme)
http://www.ipsl.jussieu.fr/~brocksce/


Attachment: err551_XAXIS.tar
Description: Unix tar archive


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement