Create Plot
Generates a scatter, line, or box plot.
Overview
This procedure can create scatter, line, or box plots. The plot type is determined by the adjective used ("scatter", "line", or "box"). Scatter and line plots require both x and y values, while box plots need only a single list of values.
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
Examples
1. Scatter Plot with Direct Values
create a scatter plot where
the x values are [1, 2, 3, 4, 5]
the y values are [85, 90, 78, 92, 88]
the title is "Exam Scores vs. Study Hours"
the x label is "Study Hours"
the y label is "Exam Scores"
the style is "white"
2. Line Plot with Table Data
create a line plot where
the x values are the table's months
the y values are the table's sales
the title is "Sales Over Time"
the x label is "Month"
the y label is "Sales ($)"
the color palette is "blue"
3. Box Plot with Direct Values
create a box plot where
the values are [75, 82, 88, 91, 85, 79, 93, 87, 90, 84]
the title is "Test Score Distribution"
the x label is "Scores"
the style is "white"
Last updated
Was this helpful?