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.
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.
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.