I have a columns of positive and negative values with high cardinality that are captured in sequence of one another. I would like to build a step plot the actual value (ex. 0.549, -2.9583, 0.624, -0.563) along the y axis, but have them distributed across the X axis, using the row-count as a proxy for a unit of time (I actually have many columns of this kind of data, and the numbers are captured sequentially). Is there a way to do this only the tools that exist in the SAS Visual Analytics tool?
General SAS plotting requires the variables to have the values beforehand. Exceptions are statistical procedures that make plots based on requested analysis.
So one you have the "order" variable added the data should be easy to plot as you just tell the tools which axis to use which value and the type of plot.
I don't have access to Visual Analytics, so I can't say what the transform has to be.
Your ordered pairs are written incorrectly. The X value comes first, with the Y second. If the X is supposed to be 1 then the pair should be written as (1, 0.549) . If you think in different order the plots are going to come out a bit strange, if the tools even allow them.
Are you actually asking how to add a "row count" to your data? You may need to provide an actual example of your data as the methods for adding such a "count" can be pretty data dependent.
General SAS plotting requires the variables to have the values beforehand. Exceptions are statistical procedures that make plots based on requested analysis.
So one you have the "order" variable added the data should be easy to plot as you just tell the tools which axis to use which value and the type of plot.
I don't have access to Visual Analytics, so I can't say what the transform has to be.
Your ordered pairs are written incorrectly. The X value comes first, with the Y second. If the X is supposed to be 1 then the pair should be written as (1, 0.549) . If you think in different order the plots are going to come out a bit strange, if the tools even allow them.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.