Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Series plot with month data

Reply
Regular Contributor
Posts: 218

Series plot with month data

Hi All,

I am trying to draw series plot with of 2 months data only. I have Feb and Mar data of both 2014 and 2015. What would be the code for the series plot

Thanks,

DateOutcome
01-Mar-2014Loss
27-Feb-2015Profit
27-Feb-2014Loss
24-Feb-2014Profit
01-Mar-2015Loss
26-Feb-2015Loss
01-Mar-2015Loss
01-Mar-2015Loss
01-Mar-2015Loss
01-Mar-2015Profit
01-Mar-2014Profit
01-Mar-2014Profit
01-Mar-2014Profit
25-Feb-2014Profit

Output should look like this:s plot

Untitled3.jpg

Super Contributor
Posts: 337

Re: Series plot with month data

I would start with proc gplot. Look at this example.

driver casualties data

SAS/ETS Web Examples --

For anything plot/graph related, this SAS community got your back: . Search on their previous posts and feel free to start discussions.

Good luck!

Respected Advisor
Posts: 4,920

Re: Series plot with month data

What is the Y axis on that plot?

PG
Ask a Question
Discussion stats
  • 2 replies
  • 256 views
  • 0 likes
  • 3 in conversation