In a gplot within a macro, I'm trying to force the placement of the legend in the upper right hand portion of a graph, if a couple of the inputs meet certain criteria. In the first line I've written the statement to place the legent in the lower left hand portion and want to override that statement when the conditions are met and the %if statement is true. One problem I see right off the bat: I don't know the syntax of the in statement in a macro. legend1 frame shape=symbol(4,2) position=(bottom left inside) mode=reserve label=('') across=1 down=5; %if &&&invar&k.. = fico and &&&gvar&i.. in (exp_fix_P_Pay , exp_M_EL) %then legend1 frame shape=symbol(4,2) position=(top right inside) mode=reserve label=('') across=1 down=5; Simplifying the condition to %if &&&invar&k.. = fico somehow messed the subsequent plot statements. Any suggestions as to how to set up the condition are welcome. Thank you -- George
... View more