Skip to content

Commit

Permalink
Update documentation for Color
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdapretnar committed Feb 3, 2020
1 parent 4e57843 commit 96f4943
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/visual-programming/source/widgets/data/color.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ The **Color** widget sets the color legend for visualizations.
3. Produce a report.
4. Apply changes. If *Apply automatically* is ticked, changes will be communicated automatically. Alternatively, just click *Apply*.

![](images/Color-Continuous_unindexed.png)

Palettes for numeric variables are grouped and tagged by their properties.

- Diverging palettes have two colors on its ends and a central color (white or black) in the middle. Such palettes are particularly useful when the the values can be positive or negative, as some widgets (for instance the Heat map) will put the 0 at the middle point in the palette.
Expand All @@ -35,10 +37,10 @@ Palettes for numeric variables are grouped and tagged by their properties.
Example
-------

We chose to work with the *Iris* data set. We opened the color palette and selected three new colors for the three types of Irises. Then we opened the [Scatter Plot](../visualize/scatterplot.md) widget and viewed the changes made to the scatter plot.
We chose to work with the *heart_disease* data set. We opened the color palette and selected two new colors for diameter narrowing variable. Then we opened the [Scatter Plot](../visualize/scatterplot.md) widget and viewed the changes made to the scatter plot.

![](images/Color-Example-1.png)
![](images/Color-Example-Discrete.png)

To see the effect of color palettes for numeric variables, we color the points in the scatter plot by sepal width and change the palette for this attribute in the Color widget.
To see the effect of color palettes for numeric variables, we color the points in the scatter plot by cholesterol and change the palette for this attribute in the Color widget.

![](images/Color-Example-2.png)
![](images/Color-Example-Continuous.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 96f4943

Please sign in to comment.