BookmarkSubscribeRSS Feed
Eva
Quartz | Level 8 Eva
Quartz | Level 8
Hello!

I'd like to have a vbar (proc gchart) and a plot graph in one graph. The x axis has for both the same values and the y axis the same scale. Can anybody tell me how to do this?

Best regards
Eva
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Suggest searching the SAS support http://support.sas.com/ website - here is a useful Google advanced search argument:

vbar chart overlay plot site:sas.com

Scott Barry
SBBWorks, Inc.
Bill
Quartz | Level 8
Eva;

There are at least 2 options. Proc GBarLine which I am not familiar with or Proc Gplot with 2 symbol statements. The one symbol statement would use i=join to produce the line, the other symbol statement would use i=needle to produce the "bars".

hth,
wd
Eva
Quartz | Level 8 Eva
Quartz | Level 8
Hello!

Thanx for your help! for SAS 9.2 there is a proc sgplot. As I have SAS 9.1 I will use gbarline.

The two plots would be a solution too, yet our customer wants something more stunning.

Best regards,
Eva

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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