How can I change the variable (z) by any other variable such as (w) in the figures?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
When I plot this figure and I want to show some points on it, I have got the varibles for example (x=-0.645, y=0.585 and z= -0.6363). But I used the variable (z) in the functions $f_{b}^{-}$ and other functions and I do not want it appear in the figures but I want to change it by other variable. My question is
How can I change the variable (z) by any other variable such as (w) in the figures?
Risposte (1)
Cameron
il 13 Mar 2023
[X,Y] = meshgrid(1:0.1:10);
Z = sin(X) + cos(Y);
p = surf(X,Y,Z,'EdgeColor','none');
p = surf(X,Y,Z,'EdgeColor','none');
p.Parent.View = [0 90];
p.DataTipTemplate.DataTipRows(3).Label = 'W';
dt = datatip(p,5,5);
0 Commenti
Vedere anche
Categorie
Scopri di più su Graphics Object Properties in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!