BookmarkSubscribeRSS Feed
Gareth
Calcite | Level 5


G'day,

In making a contour plot I have contours varying by orders of magnitude. So, displaying them on a linear scale is an issue.

Is it possible to display the contours on a log scale?

Any help would be much appreciated

2 REPLIES 2
ballardw
Super User

You don't say which procedure you're using. If JMP I have no clue.

The approach is similar as the Axis controls the scaling of charts. If using the Gcontour procedure specify log axis in AXIS statements then associate the Haxis and Vaxis with the appropriate Axis statement.

Axis1 logbase=10;

then in Gcontour plot statement

Haxis=axis1

Vaxis=axis1

with minimal specifications.

If in Sgraphics then options yaxisopts=(logopts=(base=10)) and similar for X

Each approach has different options for tick marks displayed and intervals

Gareth
Calcite | Level 5

Sorry. Yes I'm using JMP10 making a contour plot like the one below

Picture1.png

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1431 views
  • 0 likes
  • 2 in conversation