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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 814 views
  • 0 likes
  • 3 in conversation