I think that you're out of luck, unless you want to do two separate Plots or 
write your own plot using graphics calls.

The style parameter is expected to be a scaler, not an array. So, you can only 
have a consistent style for the entire plot.

Additionally, it is not correct to try and mix color values with style values. 
Color is the 3rd argument to the Plot and may be an array. Style is the fourth 
argument and appears to be restricted to a scaler.

Here's a possible double Plot solution:

Plot( IIF( NOT( aXt OR tXa ), yFe50, Null ), "a", colorAqua, styleThick );
Plot( IIF( aXt OR tXa, yFe50, Null ), "", IIF( aXt, colorRed, colorWhite ), 
styleDots | styleThick | styleNoLabel );

Mike

--- In [email protected], ronald davis <gxok...@...> wrote:
>
>  Above the dotted line, I have pasted an AFL Plot  that works great.
> The aqua plot color changes color correctly when a cross occurs.
> 
> Below the dotted line is an AFL Plot that I would like to have, but it will
> not work.
> 
> I would  be appreciate it  if a code guru would change this plot statement
> so that it still
> 
> changes color, but also changes the style from line to dots.  Ron D
> 
> tXa=Cross(t,a);    aXt=Cross(a,t);
> 
> Plot(yFe50,"a",IIf(tXa,*colorRed*,IIf(aXt,*colorRed*,*colorAqua*)),*
> styleThick*);
> ------------------------------------------------------------------------------------
> Plot(yFe50,"a",IIf(tXa,*colorRed*|*styleDots*,IIf(aXt,*colorWhite*|*
> styleDots*,*colorAqua*)),*styleThick*);
>


Reply via email to