LIVE_PLOT title trouble [message #15909] |
Fri, 18 June 1999 00:00 |
Robert King
Messages: 9 Registered: March 1999
|
Junior Member |
|
|
Hello All,
There is probably a simple solution to this problem but it's Friday
afternoon and I've had a *LONG* week..
I'm using the LIVE_PLOT routine in a widget program. I've got a series of
data arrays stashed away inside the program, they all have the same X
values (XData) so I can plot the first one using:
LIVE_PLOT, YData ,$
PARENT_BASE=base_id ,$
DRAW_DIMENSIONS=[340,255] ,$
INDEPENDENT=XData ,$
/SCATTER ,$
REFERENCE_OUT=live_id ,$
LOCATION=[0.0,0.0]
What I want to know is how I can set the X and Y titles without the lazy
user having to do it by hand. If find that the X axis is called "XData" and
the Y axis "YData" . - It seems that the variable name is used as the axes
title.
For the x axis the problem isn't that bad, I could simply call my "XData"
variable "Time". But when it comes to the Y data, if I call it "Pressure"
for the first set of data, when the user wants to display the second set I
have to use a variable called "Volume" and so on. I've got over 20 sets of
Y data so I *REALLY* don't want to go down this road...
I can't find anything about title keywords in the help info.
Any/all help much appreciated,
Have a good weekend :)
Robert
|
|
|