This is with regard to the warning i mentioned in the subject line. when i execute the following code a simple gplot , i get it and i am not sure of the ways to suppress it or avoid. could you please advise. I am using the gplot procedure in sas 9.1
input x y;
axis1 order = (0 ,0.125 ,0.5,2,4,16,64);
plot y*x / haxis = axis1;
WARNING: The intervals on the axis labeled x are not evenly spaced.
WARNING: No minor tick marks will be drawn because major tick increments have been specified in uneven or unordered intervals.
i checked the sas community pages and tried few alternatives like using the formats, however by this approach, i am successful in suppressing the format, but the x axis appearance changes. like the gap between the each axis point is wide. I want to make the axis gaps equal as well as suppress the warning. could you please help me.
proc format fmtlib;
value vfmt 0 ,0.125 ,0.5,2,4,16,64=[2.]
axis1 order = (0 to 64 by 0.5) ;
plot y*x=1 / haxis = axis1;
format x vfmt.;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.