turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- Coordinate problem with annotate dataset with G3D

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-04-2010 04:18 PM

Hi all,

I am trying to plot additional features over my surface plot by G3D procedure, however I am having problems setting the correct coordinate value.

I want an arrow to be placed at a certain location, and the whole domain is:

x=20-60 (latitude)

y=200-260 (longitude)

z=10.000-7.000 (pressure)

I am defining my x y z coordinates in the annotate dataset as the actual values in the original dataset i.e. x=20 y=200 z=10.000 (the origin) and set my xsys ysys zsys variables to "3".

However the arrow appears not in the exact x y z location but shifted with some arbitrary value in all 3 dimensions.

What can be the reason for this??

Thanks a lot.

I am trying to plot additional features over my surface plot by G3D procedure, however I am having problems setting the correct coordinate value.

I want an arrow to be placed at a certain location, and the whole domain is:

x=20-60 (latitude)

y=200-260 (longitude)

z=10.000-7.000 (pressure)

I am defining my x y z coordinates in the annotate dataset as the actual values in the original dataset i.e. x=20 y=200 z=10.000 (the origin) and set my xsys ysys zsys variables to "3".

However the arrow appears not in the exact x y z location but shifted with some arbitrary value in all 3 dimensions.

What can be the reason for this??

Thanks a lot.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-05-2010 08:22 AM

xsys, ysys, zsys = "3" treats the coordinates as "% of the graphics area", therefore x=20 is treated as 20% of the way from the left side of the graphics area, etc.

Since you are using actual (data) values as your x, y, z then you will want to use xsys, ysys, zsys = "2".

-----

For more info on the xsys/ysys coordinate system values, the following table might help:

http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/images/annodata-fig3.gif

Since you are using actual (data) values as your x, y, z then you will want to use xsys, ysys, zsys = "2".

-----

For more info on the xsys/ysys coordinate system values, the following table might help:

http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/images/annodata-fig3.gif

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-05-2010 02:11 PM

Oh yeah thats it. Thanks..