Hi All,
Can anyone give me some pointers on plotting multiple data sets on one set of axes. Plotting two or more data sets on one set of axes is easy if you know in advance what the data is called;
(plot (list
(lines set1)
(points set2))
#:x-label "x" #:y-label "y")
however I have a list of data sets generated from reading a bunch of files in a directory and I wish to loop through the list and add each data-set to an existing set of axes.
Iterating through the data and plotting each set results in multiple plot windows.
In summary I am looking for something similar to Matlab's "hold on" e.g.
;Pseudo Matlab code
figure()
for idx = 1 : numel(list-of (list-of vector-pairs))
plot(list-of (list-of vector-pairs))(idx)
hold on
end
hold off
I have got (plot-new-window? #t), however as far as I know this is just causing a plot to appear in a new window rather than directly in the repl.
Many thanks,
greadey.