> In general, I always try to use XY-graphs, because of their exact control
> over scalings, and so also in this program.
>
> But, at the end of my progran, I must do a number of plots and I don't know
> how many. I did not find a way to get a XY-graph to plot an unknown number
> of plots (is there a way to do it, please tell me!), so I chosed for this
> purpose the Waveform Graph into which -via bundle -I put my unknown number
> of plots as a 2-dim array. Convenient.
>
> But, I can't get the X-scaling in this Waveform graph to equal the former
> (XY) graphs in my program.
>
> To 2 other inputs in the bundle I wire the start of X, and the scale spacing
> (delta X).
>
> I have tried to solve this by making 2 attribute nodes of the XY graph; one
> with Delta X and one
with X0, and wire them into the bundle
> before my Waveform graph. And, this works sometimes, and sometimes not. In
> some cases the X-scaling is very strange.
>
> Anyone know anything?
I know a few things -- about graphs. There are lots of datatypes for
graphs and
they are listed in the examples. XY graphs that support multiple plots
can either
be an array of cluster of two arrays (X array and Y array), or it can
accept an
array of cluster of array of cluster of two numbers (X and Y value).
Using the
notation [] for arrays and {} for clusters, it accepts [{[X],[Y]}], and [{[{X,Y}]}].
The waveform graph with multiple plots accepts [{[Y]}] or [[Y]] where
[[]] is a 2D
array. It also allows X0 and dX for different amounts of generality.
{X0, dX, [[Y]]},
allows one X specification for all of the Y rows or columns. {X0, dX,
[{[Y]}]} allows
for a single X spec with different sizes of plot Y values. [{X0, dX,
[Y]}] allows for
different X specs per plot and different plot lengths per
plot and is
the most general.
As I said, all of these are demonstrated in the examples/general/graphs.llb.
Greg McKaskle