Data Plotting
Histogram
To visualize your data through a histogram, follow these steps:
Step 1: Access Data Plot
Navigate to the Exploratory Data Analysis (EDA) section in the workflow panel. Expand this section and select Data Plot.
Step 2: Choose Data Source
Select your Data Source by choosing the appropriate dataset or created subset.
Step 3: Select Plot Type
In the Plot Type dropdown menu, choose Histogram. This will set the interface for creating your histogram.
Step 4: Select Variable
Under Options, choose the variable you want to analyze from the dropdown list.
Step 5: Configure Histogram Options
- Number of Bins: The initial number of bins can be calculated using the Freedman-Diaconis rule, which considers the interquartile range (IQR) of your data. You can also change the number of bins as desired.
- Color: Pick the color for your histogram bars from the color palette.
- Normalization: Choose how you would like to normalize your data, selecting either Frequency or Density.
- If desired, check the Show Edges option to display the boundaries of the bins.
Step 6: Overlay Plot (Optional)
If you want to include an overlay distribution: - Select a distribution function from the Distribution Function dropdown. - Pick a Curve Color for the overlay. - You also have the option to check Cumulative distribution if you want to display it as well.
Step 7: Plot the Histogram
After configuring your settings, click the Plot button to generate the histogram. This visual representation will aid in analyzing the distribution of the selected variable.
2D Scatter Plot
Step 1: Select Data Source
Choose your Data Source from the list.
Step 2: Select Plot Type
In the Plot Type dropdown menu, select 2D Scatter Plot from the list.
Step 3: Configure Options
- X Variable: Select the variable for the x-axis.
- Y Variable: Select the variable for the y-axis.
- Log Scale: If necessary, check the Log Scale option for either or both axes, depending on your data requirements.
Step 4: Marker Options
- Click on Marker Options to configure the appearance of the points in your scatter plot.
- Face Color: Choose between selecting a constant color for the markers or coloring the markers based on a third variable using an appropriate colormap.
- Marker Shape: Choose your preferred shape for the markers.
- Size: Adjust the size of the markers as needed (e.g., set to 30.0).
- Edge Visible: You can choose to make the edge of the markers visible by adjusting the opacity.
Step 5: Optional Regression Plot
If you want to include a regression line: - Check the Enable Regression option. - Adjust the Polynomial Degree, such as setting it to 1 for linear regression.
Step 6: Plot the Scatter Plot
After configuring your settings, click the Plot button to generate the 2D scatter plot, which will appear as shown in the designated plotting area. If the regression is applied, the regression coefficients as well as the goodness of fit ( R^2 ) will be displayed in the log section.
3D Scatter Plot
Step 1: Select Data Source
Choose your Data Source from the list. And in the Plot Type dropdown menu, select 3D Scatter Plot from the list.
Step 2: Assign Variables
- X Variable: Select the variable for the x-axis.
- Y Variable: Select the variable for the y-axis.
- z Variable: Select the variable for the z-axis.
Step 3: Marker Options
- Click on Marker Options to configure the appearance of the points in your scatter plot.
- Face Color: Choose between selecting a constant color for the markers or coloring the markers based on a third variable using an appropriate colormap.
- Marker Shape: Choose your preferred shape for the markers.
- Size: Adjust the size of the markers as needed (e.g., set to 30.0).
- Edge Visible: You can choose to make the edge of the markers visible by adjusting the opacity.
Step 4: Plot the Scatter Plot
After configuring your settings, click the Plot button to generate the 2D scatter plot, which will appear as shown in the designated plotting area.
Editing, Saving and Extracting Figures
After generating the plot, in the navigation toolbar below the figure, you can find the save icon.
In the Save as type dropdown menu, you have several options to choose from. Here are some available formats:
- Portable Network Graphics (PNG)
- Encapsulated Postscript (EPS)
- Joint Photographic Experts Group (JPEG)
- Portable Document Format (PDF)
- PGF code for LaTeX
- Postscript
- Raw RGBA bitmap
- Scalable Vector Graphics (SVG)
- Tagged Image File Format (TIFF)
- WebP Image Format
In addition to saving options, the navigation toolbar also provides functionalities to adjust the appearance of the figure. You can modify:
- Axis labels and titles, as well as Font size.
- Grid lines and background colors to improve the visual presentation.
- Zoom in and out of the figure.