Additional to the previous responses, plots must exist to be able to specify
their properties. They can be brought into existence by expanding the legend
as already discovered. However it is not practical to make a legend
containing many hundreds of plots in order to set the plot types in advance.
Plot types can be changed once the data is plotted, but this results in ugly
refreshing.
A more elegant way is to pre-load the graph with empty plots; an array of
clusters that each simply contain a pair of uninitialised arrays is
adequate. Make the array as many elements long as you need to define plots
for and write it to the XY graph. You can then modify the settings at will.
If the settings do not change between program runs, you can do all this
messing about
, then set the current XY plot as default, save it and you can
get rid of all the initialisation.
Note that once this is done, deleting plots- for instance by writing an
array that is shorter than the predefined number of plots- will probably
lose the settings of the "higher up" plots. You need to make sure you always
write the correct number of plots even if many are empty.
Roberto Bozzolo wrote in message
news:506500000005000000F42C0000-991728092000@quiq.com...
> Create a property node for the graph and select firstly the property
> 'Plot', wiring to it an index (zero based) to the plot on which to
> operate.
> After this, add all the elements you want to modify (plot style, line
> style, line color...) on the selected plot and wire the appropriate
> constants or variables to them.
>
> I attach a simple example for it.
>
> Roberto