SAS Simple Drawing

Source: Internet
Author: User

With the SAS Gplot/gchart module, simple charts can be drawn.

1. Bar chart, doughnut chart, pie chart and so on;

Proc Gchart data=xxxxx;

Vbar varname;

Run

This process contains several options, note that the difference between the subgroup and group options, subgroup is not listed, and group is drawn separately for different groups;

2. Scatter plots, line charts, etc.

Proc Gplot data=xxxxx;

Plot y*x;

Run

When there are several different lines on the same table, determine whether the same coordinate system is shared by these lines. If it is true in the same coordinate system, then overlay requires multiple plot statements and Vaxis to define the axis length in a different coordinate system.

3. Three-dimensional surface diagram

Proc G3d data=xxxxx;

Plot y*x=z;

Scatter y*x=z;

Run

Scatter plots are also surface plots.

The above is the most basic statistical chart, other such as survival curve analysis diagram, ROC map, t distribution F distribution map will be added in succession.

SAS Simple Drawing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.