How to draw this figure?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have this figure. I have the color portion. That is they are surface plot that are visible from the top. Also I plotted those points. and everything except that colored portion. Please give me some clues.
3 commentaires
Jan
le 6 Mai 2013
We cannot suggest a solution without known the structure of your data. It would cost some time to invent some test data in a matching structure. And afterwards it would cost additional work to adjust the suggested solution to your data. So please post the details required to draw the wanted result - the values do not matter and can be created by RAND.
Réponse acceptée
Gijs van Oort
le 6 Mai 2013
I guess that you are able to plot the 3D figure 'anywhere' within the axis, i.e., that you can translate and scale it the way you want. (if not, simply try to subtract a certain offset from the x and y coordinates; scaling is a little harder).
Now, plot the 3D figure at the position of the first point. Then type
hold on
and plot all the others. Then have a look at your figure from directly above:
view(2)
(or play around with the view command until you have found the right angle to look at your figure if you happen to look at it from the side).
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!