Silverfrost Forums

Welcome to our forums

SIMPLEPLOT automatic mode query

20 Jan 2011 3:16 #7580

I am trying to plot two graphs on the same plot. The example in the manual uses the same set of x values for both plots. The two plots I want to produce do not.

The documentation for the %pl format code in the help file does not rule out the possibilitythat this is achievable if the option x_array is used repeatedly. However, having tried this, along with various permutations of the argument list, I am coming to the conclusion that it is not in fact possible.

Has anyone managed to achieve multiple plots with different x values on the same graph? Or please can anyone confirm that multiple plots are only possible with a single common set of x values?

21 Jan 2011 9:03 #7607

As far as I remember (because I tried that once some time ago) you can only have ONE x array and SEVERAL y arrays if you use %pl in the simplest mode. However, you can use %pl with direct calls to Simpleplot subroutines and in this case you can plot several curves each one with its x and y data. You can also use directly Simpleplot (as I do) using a %dw window.

Agustin

Please login to reply.