scatter3mpdf

Version 1.0.1 (2.89 KB) by Eiji Konaka
This function plotts 3d scatter chart with marginalized pdfs.
16 Downloads
Updated 8 Sep 2023

View License

scatter3mpdf is written by Eiji Konaka, Sep/2023
This function plotts the followings in one 3-d figure.
  • 3-d scatter plot
  • 2-d marginalized histogram (or cumulated histogram) on x-y, y-z, and z-x planes using PCOLOR function. Relative frequency is shown by cell colors.
  • 1-d marginalized pdf (or cdf) along x, y, and z axes. The plotted pdf is calculated by ksdensity, instead of histogram due to technical reasons.
Inputs
  • x, y, z: data vector with the same dimensions
Options
  • mPDFAreaRatio: The size of the ratio of pdf plot area to scatter area (default=0.5)
  • FunctionType: you can select the type of distribution function from 'pdf' or 'cdf' (default='pdf')
  • Marker: type of marker of scatter3 function (default='o')
Output
  • h: graphic handle of figure
Note: The other options, such as colormap of PCOLOR function, can not be specified on calling this function.

Cite As

Eiji Konaka (2024). scatter3mpdf (https://www.mathworks.com/matlabcentral/fileexchange/135016-scatter3mpdf), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Minor modification

1.0.0