I would like to use y2axis in sgplot vbox to show a different set of units for the same graph - that is, there is no need to re-plot the figure. Is there a way to assign a variable to y2axis without having to call a second vbox statement? Thanks.
The only way to add an independent variable to the Y2 (or any) axis is by associating a plot statement to that axis. You can certainly make the display of the plot transparent, or provide missing data. Note: All x and y values for a plot cannot be missing.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.