I have scatter series plot using proc SGPLOT with different timepoints on each page.
Page having 5 timepoints on x axis have required gap between errorbars of two treatments with clusterwidth = 0.2 but other page having 8 timepoints have comparatively small gap between errorbars with same clusterwidth value.
Upon increasing clusterwidth value, I am getting required gap but along with gap, thickness of errobars also increased. I want to change only the gap without changing thickness. I have tried errorbarattrs = (thickness = x) with and without transparence = x option but with use of these options clusterwidth = n seems not working.
Any solution will be most welcome.
Complete Sgplot code please. Plus data if possible, or modify your code to use a supplied data set like one of the SGPLOT examples.
Here is the sample code:-
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.