27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Overview<br />

Options<br />

IGRAPH 745<br />

The interactive Chart Editor is designed to emulate the experience of drawing a statistical<br />

chart with a pencil and paper. The Chart Editor is a highly interactive, direct manipulation<br />

environment that automates the data manipulation and drawing tasks required to draw a chart<br />

by hand, such as determining data ranges for axes; drawing ticks and labels; aggregating and<br />

summarizing data; drawing data representations such as bars, boxes, or clouds; and incorporating<br />

data dimensions as legends when the supply of dependent axes is exhausted.<br />

The IGRAPH command creates a chart in an interactive environment. The interactive<br />

Chart Editor allows you to make extensive and fundamental changes to this chart instead of<br />

creating a new chart. The Chart Editor allows you to replace data, add new data, change<br />

dimensionality, create separate chart panels for different groups, or change the way data are<br />

represented in a chart (that is, change a bar chart into a boxplot). The Chart Editor is not a<br />

“typed” chart system. You can use chart elements in any combination, and you are not<br />

limited by “types” that the application recognizes.<br />

To create a chart, you assign data dimensions to the domain (independent) and range<br />

(dependent) axes to create a “data region.” You also add data representations such as bars or<br />

clouds to the data region. Data representations automatically position themselves according<br />

to the data dimensions assigned to the data region.<br />

There is no required order for assigning data dimensions or adding data representations;<br />

you can add the data dimensions first or add the data representations first. When defining the<br />

data region, you can define the range axis first or the domain axis first.<br />

Titles and Captions. You can specify a title, subtitle, and caption for the chart.<br />

Chart Type. You can request a specific type of chart using the BAR, PIE, BOX, LINE,<br />

ERRORBAR, HISTOGRAM, and SCATTERPLOT subcommands.<br />

Chart Content. You can combine elements in a single chart. For example, you can add error<br />

bars to a bar chart.<br />

Chart Legends. You can specify either scale legends or categorical legends. Moreover, you<br />

can define which properties of the chart reflect the legend variables.<br />

Chart Appearance. You can specify a template, using the CHARTLOOK subcommand, to<br />

override the default chart attribute settings.<br />

Basic Specification<br />

The minimum syntax to create a graph is simply the IGRAPH command, without any variable<br />

assignment. This will create an empty graph. To create an element in a chart, a dependent<br />

variable must be assigned and a chart element specified.<br />

Subcommand Order<br />

• Subcommands can be used in any order.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!