Smooth out a surf plot
Mostra commenti meno recenti
I have created a surface plot of temperature data I have, all the x,y coordinates are integer values. I simply made a variable with my temperatures and used the surf command. This is what I have:
However that is way too 'chunky' for me to use. I need to prepare this for a presentation and I would like the graph to look more like this:
The second image is just one I grabbed off of google but that is what I am looking for.
Is there any way to generate an image like the second one from my data in MatLab? Or is there a way to make the image I already have into one like the second one using some imaging software?
Accuracy is important but it is secondary to appearance here. I really feel like this should be possible but if I'm asking for the moon here let me know, I have very little experience with MatLab. Thanks for any help!
1 Commento
This is what I have:
However that is way too 'chunky' for me to use. I need to prepare this for a presentation and I would like the graph to look more like this:
You’re definitely not asking for the moon—this is totally doable in MATLAB! Try using interp2 to increase the resolution of your data grid before using surf, or switch to mesh with interpolated shading for a smoother look. Also, add shading interp to your plot—it’ll blend the colors and remove the “chunky” block effect. Should get you much closer to that second image!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!