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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1149 views
  • 0 likes
  • 3 in conversation