2; run; /* Create bar chart */ ods graphics / height=400 width=1300; proc sgplot data=have; vbarparm category=OBS_DATE response=Indirect_Cost_Perc / colormodel=(CXF2575F CXCAD5E5) colorresponse=sign; yaxis label="Indirect Cost%"; xaxis label="Observation Date" interv...
VBARPARM CATEGORY= category-variable RESPONSE=numeric-variable</option(s)>; WATERFALL CATEGORY= category-variable RESPONSE=numeric-variable</option(s)>;
proc sgplot data=merged; vbarparm category=&TIME_GROUP response=freq_values / group=&COLUMN.binned seglabel ...; series x=&TIME_GROUP_2 y=mean_values; ... run; Let me know if you have any issues with this approach. Thanks! Dan View solution in original post 2 Likes Reply ...
proc sgplot; vbarparm category=subjid response=aval; xaxis values=('001' '002' 003' '004' '005') valuesdisplay=('test1' 'test2' 'test1' 'test1' 'test4'); run; View solution in original post 2 Likes 4 REPLIES PeterClemmensen Tourmaline | Level 20 Re: proc sgplot: xaxis dis...
You may have to move to a VBARPARM or similar to use such data. 1 Like ChrisNZ Tourmaline | Level 20 Re: PROC SGPLOT STAT = PERCENT Posted 11-23-2020 04:12 PM (9135 views) | In reply to ballardw My bad. I understood the results of proc freq were plotted. Yes, do a ...
(gender='F','M','F'); output; end; end; drop n repl; run; proc sql; create table counts as select * ,sum(count) as total from (select state,gender,count(*) as count from fake group by state,gender) group by state order by total ; quit; proc sgplot data=counts; vbarparm ...
proc sgplot data=totalnew;y2axis min=0 offsetmin=0;yaxis offsetmin=0;vbarparm category=year response=mean_spi /group=loc groupdisplay=cluster;series x=year y=count_sum / y2axis markers;run; 0 Likes Reply DanH_sas SAS Super FREQ Re: graph in proc gbarline Posted 06-19-2023 07:...