PLOTCUBE

Versione 1.0.0.0 (1,74 KB) da Olivier
Plot a 3D-cube
16,6K download
Aggiornato 1 giu 2007

Visualizza la licenza

PLOTCUBE - Display a 3D-cube in the current axes

PLOTCUBE(EDGES,ORIGIN,ALPHA,COLOR) displays a 3D-cube in the current axes
with the following properties:
* EDGES : 3-elements vector that defines the length of cube edges
* ORIGIN: 3-elements vector that defines the start point of the cube
* ALPHA : scalar that defines the transparency of the cube faces (from 0
to 1)
* COLOR : 3-elements vector that defines the faces color of the cube

Example:
>> plotcube([5 5 5],[ 2 2 2],.8,[1 0 0]);
>> plotcube([5 5 5],[10 10 10],.8,[0 1 0]);
>> plotcube([5 5 5],[20 20 20],.8,[0 0 1]);

Cita come

Olivier (2024). PLOTCUBE (https://www.mathworks.com/matlabcentral/fileexchange/15161-plotcube), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Lighting, Transparency, and Shading in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: rppd

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0