Labels

This tutorial shows how to configure and customize a Labels layer into ZENPLOT® for your future visualizations.


Do you want to try ZENPLOT® out? You can Download the trial version at any time!

1. Dataset

In this tutorial, we use the Products acidity and texture dataset. 12 products were evaluated on 2 descriptors by several assessors, using a scale from 1 to 10 (1: the product is weak on this descriptor, 10: the product is strong on this descriptor). The average has been calculated for each product.

This dataset contains 12 observations, described by 3 variables::

  • Products, observations qualitative variable
  • Acidity, quantitative variable
  • Fluid texture, quantitative variable

Sources:

This dataset was built for this tutorial.

2. Configure a Labels layer into ZENPLOT®

To create an Labels layer, click on Add a layer and select the Labels layer.

Tutorial Labels step 1 Tutorial Labels step 2

Each observation in the dataset corresponds to a label, based on the associated X and Y coordinates.

You must enter:

  • The dataset you want to use (here, Products acidity and texture)
  • The variable corresponding to the X coordinates: a quantitative or qualitative variable
  • The variable corresponding to the Y coordinates: a qualitative variable
  • The variable corresponding to the labels text: a quantitative or qualitative variable

Tutorial Labels step 3

3. Customize a Labels layer in ZENPLOT®

Once the Labels layer is created, different options are available in the options bar.

You can choose two ways to customize the characteristic of an element:

By imposing a uniform style on all elements

In this case, all the labels of the layer will have the same style applied for that characteristic (same border, same text color, same filling color).

Tutorial Labels step 4

By binding the characteristic to a variable in the dataset

In this case, all the labels on the layer will have a different style for that characteristic depending on the value they take for the linked variable.

When binding to a qualitative variable, you must choose a style for each category of the variable.

Tutorial Labels step 5

When binding to a quantitative variable, it is necessary to define a minimum, median, and maximum value . A gradient is thus produced.

Tutorial Labels step 6

3.1 Layer setting

You can reconfigure your layer at any time (change datasets, variables, etc.)

Tutorial Labels step 7

3.2 Border options

3 border options are available:

  • Thickness
  • Type (this characteristic can only be linked to qualitative variable)
  • Color

Tutorial Labels step 8

3.3 Filling options

Tutorial Labels step 9

3.3 Text options

3 text options are available:

  • Font family (This characteristic cannot be linked to any variable.)
  • Size
  • Color

Tutorial Labels step 10