Thank you Robert,
The problem is that y*x=2 doesn't work with overlays.
The code is something like this:
---------------------------------------------------
%macro m(var haxis vaxis legend);
proc gplot data=match
; symbol1 h=1 v=dot i=join c=blue line=1;
symbol2 h=1 v=star i=join c=red font= line=1;
symbol3 h=1 v=triangle i=join c=blue font= line=1;
symbol4 h=1 v=square i=join c=red line=1;
symbol5 h=1 v=dot i=join c=blue line=1;
plot (&var)*time / haxis=&haxis vaxis=&vaxis legend=&legend skipmiss overlay;;
run;quit;
%mend;
%m(a b c d e,axis1, axis2,legend1);
%m(a c e, axis1, axis2, legend1);
-----------------------------------------------------
Is there a way to assign symbol1, symbol3 and symbol5 (corresponding to a, c and e, to the second macro statement?
Thanks.
... View more