missing data in surface plot
Ältere Kommentare anzeigen
i should surf plot my data points x(14000),y(26),z(26x14000) , none of these points have missing data, but when i do the surf plot and view it using view(0,90) i could see missing data(white patches) which is never expected because my colorscale is parula which ranges from blue to yellow
5 Kommentare
Walter Roberson
am 29 Jan. 2020
Can you attach the values in a .mat ?
rupa battula
am 30 Jan. 2020
Walter Roberson
am 30 Jan. 2020
Please show the output of whos for all of the variables.
KSSV
am 30 Jan. 2020
If you cant post your work, you ashould not ask for help in open forums. You will get help on showing your problem; else how do you expect to get a help?
rupa battula
am 30 Jan. 2020
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 30 Jan. 2020
Your data is fine.....there are no missing values....you may try this:
surf(x,y,Z)
colorbar
grid off
shading interp
3 Kommentare
Walter Roberson
am 30 Jan. 2020
I do not see any problem on my system.
I would tend to suggest (personal preference)
surf(x, y, Z, 'edgecolor', 'none')
colorbar
I would leave grid on.
You might be having a graphics driver glitch. Try
set(gcf, 'Renderer', 'Painters')
and look at the date of the driver that shows up in
opengl info
and update graphics drivers if you are not fairly current.
rupa battula
am 31 Jan. 2020
Walter Roberson
am 31 Jan. 2020
What was the solution?
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!