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
- /
- ODS and Base Reporting
- /
- Cartesian coordinate system

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-28-2006 05:07 AM

Hello,

I want to produce, with my "proc plot", a cartesian coordinate system where the unit on the two axis is the same length.

How can I do that ? I want something like 1cm for 1 unit on both axis.

Thanks !

I want to produce, with my "proc plot", a cartesian coordinate system where the unit on the two axis is the same length.

How can I do that ? I want something like 1cm for 1 unit on both axis.

Thanks !

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

Posted in reply to deleted_user

08-28-2006 05:28 AM

I forgot :

I would also like to know how to annotate my graph, with a label for each point.

How can I do that ?

Thanks !

I would also like to know how to annotate my graph, with a label for each point.

How can I do that ?

Thanks !

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

Posted in reply to deleted_user

08-31-2006 06:10 AM

Hello.

There is no real annotate feature outside SAS/GRAPH, so you can't really annotate a proc plot. Either use GPLOT or consider the following syntax :

PROC PLOT DATA = ... ;

PLOT Xvar * Yvar = "#" $ labelVar ;

RUN ; QUIT ;

THe # symbol will be used to mark points, and the values of labelVar will be written next to the points.

For "square" graphics with both axis of the same length, try to change the LS and PS option to control the Output page size. You can shrink or expand axes that way (you can do the same with SAS/GRAPH using the VSIZE and HSIZE GOPTIONS). But it's not a very satisfying way to do things, just a workaround.

Maybe you can check also the ODS GRAPHICS templates : maybe there is a "square plot" template that you could use in a Data step (I've seen SUGI papers talking about such things).

Hope it helps.

Olivier

There is no real annotate feature outside SAS/GRAPH, so you can't really annotate a proc plot. Either use GPLOT or consider the following syntax :

PROC PLOT DATA = ... ;

PLOT Xvar * Yvar = "#" $ labelVar ;

RUN ; QUIT ;

THe # symbol will be used to mark points, and the values of labelVar will be written next to the points.

For "square" graphics with both axis of the same length, try to change the LS and PS option to control the Output page size. You can shrink or expand axes that way (you can do the same with SAS/GRAPH using the VSIZE and HSIZE GOPTIONS). But it's not a very satisfying way to do things, just a workaround.

Maybe you can check also the ODS GRAPHICS templates : maybe there is a "square plot" template that you could use in a Data step (I've seen SUGI papers talking about such things).

Hope it helps.

Olivier

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

Posted in reply to Olivier

09-01-2006 09:34 AM

Thank you Olivier !