Subscribe Bookmark RSS Feed

NomAxisBox - Delete or Replace a Level

pauljames1

Community Trekker

Joined:

Feb 24, 2015


What script code can I use to delete (or replace with blanks) the last couple of nominal x-axis labels in the plot generated by Oneway ANOVA in the Fit Model platform?  I can use the following code to select the entire x-axis, but need to know how to select, delete, and/or replace just the last couple of levels in the x-axis:

 

myAnalysis = Oneway( Y( :Y ), X( :X ) );

myReport = myAnalysis << Report;

myReport[NomAxisBox(1)] << Select;

Thanks,

Paul

PS., For the script above, Y is continuous, X is nominal with 5 levels, and I want to drop the 4th and 5th levels lables from the x-axis of the plot.