BookmarkSubscribeRSS Feed
antor82
Obsidian | Level 7

Hi all 

 

I attach the code and the resulting figure

proc sgplot data=aha.forest noautolegend nocycleattrs;
  styleattrs datasymbols=(squarefilled);
  scatter y=predictors x=or / xerrorupper=ucl xerrorlower=lcl group=grp;
  yaxistable or lcl ucl p / y=predictors location=inside position=right;
  refline 1 / axis=x noclip;
  xaxis type=log max=10 minor display=(nolabel)  valueattrs=(size=7) valuesformat=f2.0;
  yaxis display=(noticks nolabel)  fitpolicy=none reverse valueshalign=left
        colorbands=even colorbandsattrs=Graphdatadefault(transparency=0.8)  valueattrs=(size=7);
run;

download.png

 

I need to amplify the x axis around 1 (let's say from 1.01 to 1.1) and then restart with a log scale.

 

Can you help me please?

 

Tks in advance


Antonio

1 REPLY 1
quickbluefish
Barite | Level 11

Are you saying you want the range 1.01 to 1.1 to be on a linear scale?  

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1 reply
  • 67 views
  • 0 likes
  • 2 in conversation