BookmarkSubscribeRSS Feed
benson
SAS Employee
I am using the line plot to graph data. My X and Y axis are fine with the data I am using. I would like to know if there is a way to show data on the right side of the graph, sometimes called the secondary axis. Having trouble with this. Thanks.
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
Using EGuide 4.2, select tasks --> Line Plot --> "multiple vertical column line plot"

If that is not what you want, you may need to reframe your question, or point to an example in the SAS/Graph manual.
benson
SAS Employee
Although I am using the 4.1 version, I was able to successfully add a secondary axis (right axis) by inserting a plot2 statement.

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1262 views
  • 0 likes
  • 2 in conversation