BookmarkSubscribeRSS Feed
mlogan
Lapis Lazuli | Level 10

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

2 REPLIES 2
M_Maldonado
Barite | Level 11

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!

PGStats
Opal | Level 21

What is the Y axis on that plot?

PG

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 958 views
  • 0 likes
  • 3 in conversation