I might be missing the point here, but . . .
Assuming that this is Ptolemy Classic we are talking about, you should
be able to set the name of legend on the plot by editing the
parameters of the XYGraph star.
Try poking around at some of the other demos and see how they do
sdf/demo/integrator has the following args
-P -x n =800x400+0+0 -1 control -0 final
which sets the label of dataset 1 to "control" and dataset 0 to
"final"
you should be able to do things like
-1 "Control input" -0 "Final input"
-Christopher
--------
Hi,
I am using a modified version of XY graph for plotting several y-plo
ts against a common set of x-values. The graphical output is based on pxgrap
h. The legend of the plots are given as Set1, Set2,.. that I cannot change.
Data for each plot is coming from a output port of another module, i.e., for
n plots data is coming from n output ports of another module. With this set
ting I donot know which plot corresponds to output from which output port. M
y question is: how can I label the plots such that I know that a plot corre
sponds to output from a specific output port. The parameter set of this modu
le (basically the same as XY graph module) does not have any option for sett
ing labels. I guess I need to make changes somewhere else. Thank you in adva
nce for your response.
Regards,
Hasan
---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]
--------
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]