|
1 | 1 | Color |
2 | 2 | ===== |
3 | 3 |
|
4 | | -Set color legend for variables. |
| 4 | +Set color legend for variables. |
5 | 5 |
|
6 | | -Inputs |
7 | | - Data |
8 | | - input dataset |
| 6 | +**Inputs** |
9 | 7 |
|
10 | | -Outputs |
11 | | - Data |
12 | | - dataset with a new color legend |
| 8 | +- Data: input data set |
13 | 9 |
|
| 10 | +**Outputs** |
14 | 11 |
|
15 | | -The **Color** widget enables you to set the color legend in your visualizations |
16 | | -according to your own preferences. This option provides you with the tools for |
17 | | -emphasizing your results and offers a great variety of color options for presenting your data. It can be combined with most visualizations widgets. |
| 12 | +- Data: data set with a new color legend |
18 | 13 |
|
19 | | -.. figure:: images/Color-stamped.png |
| 14 | +The **Color** widget enables you to set the color legend in your visualizations according to your own preferences. This option provides you with the tools for emphasizing your results and offers a great variety of color options for presenting your data. It can be combined with most visualizations widgets. |
20 | 15 |
|
21 | | -1. A list of discrete variables. You can set the color of each variable by double-clicking on it and opening the *Color palette* or the *Select color* window. The widget also enables text-editing. By clicking on a variable, you can change its name. |
22 | | -2. A list of continuous variables. You can customize the color gradients by double-clicking on them. The widget also enables text-editing. By clicking on a variable, you can change its name. If you hover over the right side side of the gradient, *Copy to all* appears. You can then apply your customized color gradient to all variables. |
| 16 | + |
| 17 | + |
| 18 | +1. A list of discrete variables. You can set the color of each variable by double-clicking on it and opening the *Color palette* or the *Select color* window. The widget also enables text-editing. By clicking on a variable, you can change its name. |
| 19 | +2. A list of continuous variables. You can customize the color gradients by double-clicking on them. The widget also enables text-editing. By clicking on a variable, you can change its name. If you hover over the right side side of the gradient, *Copy to all* appears. You can then apply your customized color gradient to all variables. |
23 | 20 | 3. Produce a report. |
24 | | -4. Apply changes. If *Apply automatically* is ticked, changes will be communicated automatically. Alternatively, just click *Apply*. |
| 21 | +4. Apply changes. If *Apply automatically* is ticked, changes will be communicated automatically. Alternatively, just click *Apply*. |
25 | 22 |
|
26 | 23 | Discrete variables |
27 | 24 | ------------------ |
28 | 25 |
|
29 | | -.. figure:: images/Color-palette-discrete-stamped.png |
| 26 | + |
30 | 27 |
|
31 | | -1. Choose a desired color from the palette of basic colors. |
32 | | -2. Move the cursor to choose a custom color from the color palette. |
| 28 | +1. Choose a desired color from the palette of basic colors. |
| 29 | +2. Move the cursor to choose a custom color from the color palette. |
33 | 30 | 3. Choose a custom color from your previously saved color choices. |
34 | 31 | 4. Specify the custom color by: |
35 | | - |
36 | | - - entering the red, green, and blue components of the color as values between 0 (darkest) and 255 (brightest) |
37 | | - - entering the hue, saturation and luminescence components of the color as values in the range 0 to 255 |
38 | | - |
| 32 | + - entering the red, green, and blue components of the color as values between 0 (darkest) and 255 (brightest) |
| 33 | + - entering the hue, saturation and luminescence components of the color as values in the range 0 to 255 |
39 | 34 | 5. Add the created color to your custom colors. |
40 | | -6. Click *OK* to save your choices or *Cancel* to exit the the color palette. |
| 35 | +6. Click *OK* to save your choices or *Cancel* to exit the the color palette. |
41 | 36 |
|
42 | 37 | Numeric variables |
43 | 38 | ----------------- |
44 | 39 |
|
45 | | -.. figure:: images/Color-palette-numeric-stamped.png |
| 40 | + |
46 | 41 |
|
47 | | -1. Choose a gradient from your saved profiles. The default profile is already set. |
| 42 | +1. Choose a gradient from your saved profiles. The default profile is already set. |
48 | 43 | 2. The gradient palette |
49 | | -3. Select the left side of the gradient. Double clicking the color opens the *Select Color* window. |
50 | | -4. Select the right side of the gradient. Double clicking the color opens the *Select Color* window. |
| 44 | +3. Select the left side of the gradient. Double clicking the color opens the *Select Color* window. |
| 45 | +4. Select the right side of the gradient. Double clicking the color opens the *Select Color* window. |
51 | 46 | 5. Pass through black. |
52 | | -6. Click *OK* to save your choices or *Cancel* to exit the color palette. |
| 47 | +6. Click *OK* to save your choices or *Cancel* to exit the color palette. |
53 | 48 |
|
54 | 49 | Example |
55 | 50 | ------- |
56 | 51 |
|
57 | | -We chose to work with the *Iris* dataset. We opened the color palette and selected three new colors for the three types of Irises. Then we opened the :doc:`Scatter Plot<../visualize/scatterplot>` widget and viewed the changes made to the scatter plot. |
58 | | - |
59 | | -.. figure:: images/Color-Example-1.png |
| 52 | +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. |
60 | 53 |
|
61 | | -For our second example, we wished to demonstrate the use of the **Color** widget with continuous variables. We put different types of Irises on the x axis and petal length on the y axis. We created a new color gradient and named it greed (green + red). |
62 | | -In order to show that sepal length is not a deciding factor in differentiating between different types of Irises, we chose to color the points according to sepal width. |
| 54 | + |
63 | 55 |
|
| 56 | +For our second example, we wished to demonstrate the use of the **Color** widget with continuous variables. We put different types of Irises on the x axis and petal length on the y axis. We created a new color gradient and named it greed (green + red). |
| 57 | +In order to show that sepal length is not a deciding factor in differentiating between different types of Irises, we chose to color the points according to sepal width. |
64 | 58 |
|
65 | | -.. figure:: images/Color-Example-2.png |
| 59 | + |
0 commit comments