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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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