plot3c

Plots data color coded in 3D.
9,6K Downloads
Aktualisiert 31. Jan 2005

Keine Lizenz

FUNCTION PLOT3C(X,Y,Z,V,'MARKER',Title') plots the values in vector v colour coded at the positions specified by the vectors x, y, and z in a 3-D axis system. A colourbar is added on the right side of the figure.

The colorbar strectches from the minimum value of v to its maximum in 9 steps (10 values).
The second last argument is optional to define the marker being used. The default is a point. To use a different marker (such as circles, ...) send its symbol to the function (which must be enclosed in '; see example).

This function is an extension of PLOTC.

Example:
The seismic P-velocity (v) depends on the three parameters porosity (por) and the bulk moduli of the saturating fluid (kf) and the elastic frame (kd). To plot the velocity data as a function of these three parameters use (assuming that all data are given in vectors):

plot3c(por,kd,kf,v,'d','Velocity')

Zitieren als

Ulrich Theune (2024). plot3c (https://www.mathworks.com/matlabcentral/fileexchange/5735-plot3c), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R12.1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Color coded 3D scatterplot, qgriddata

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Added optional title for the colorbar, changed the labelling of the colorbar, and added a test whether all vectores are of the same length