Fine tuning a 3D figure without modifying the arguments of `view`

1 vue (au cours des 30 derniers jours)
Leo Simon
Leo Simon le 17 Juil 2016
Commenté : Leo Simon le 18 Juil 2016
In the figure below, the cluster of stem lines to the left of the figure (a cluster is identified by a common color) are quite far apart. Moving from left to right the lines in each cluster become closer and closer together. I'd like the gap between the lines within each cluster to be more uniform across clusters as I move from left to right. Obviously, I can achieve some uniformity by modifying the
view
command, e.,g setting,say,
view(0,-5)
but then the figure looks terrible. So I'm there's some other way to obtain a more uniform gap by modifying some other property of the figure (one of the camera properties, maybe?). I've attached the .fig file in the hope that somebody can show me how to do this.
Thanks very much for any suggestions.

Réponse acceptée

John BG
John BG le 18 Juil 2016
Leo
what you want to do is to switch the camera option Projection from 'Perspective' to 'Orthographic'.
launch the camera toolbar
open perspective1.fig
cameratoolbar
reading the camera toolbar right to left, the first button you find is a STOP sign button.
The next button is the 'Reset Camera and Scene Light'.
The next 2 buttons toggle between 'Perspective' (3rd from right) and 'Orthographic'.
Click on 'Orthographic'
You see the stem rods are now equally spaced regardless of the colour set.
I am attaching a screenshot in a few days, just exhausted uploads for 24h.
Leo would you please be so kind to mark my answer as ACCEPTED ANSWER?
To any other reader, please if you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John

Plus de réponses (1)

the cyclist
the cyclist le 17 Juil 2016
Modifié(e) : the cyclist le 17 Juil 2016
Imagining this figure as an actual, real-life, 3-dimensional object, I would say that there is no way you can configure it to get what you want. I could be wrong.
I think a grouped bar chart (with each bar representing a panel size) might capture what you are hoping for better. It might not be quite as elegant at first glance, but might be a better visualization for actually interpreting the data.
  2 commentaires
Leo Simon
Leo Simon le 17 Juil 2016
Modifié(e) : the cyclist le 17 Juil 2016
Thanks very much for the suggestion. I've been playing around with bar3. It seems as though what would work well is if I could replace each of my stem3 commands with an individual stacked bar3, but I'd want to be able to customize independently the color ordering for each bar, e.g., for one bar have blue/red/green, and another green/blue/red. But for some odd reason, the graphics handle to bar3 doesn't seem to give me the control I need, in particular, the dimensions of the bars, location of the bars in the x,y plane, and the ability to change the colors of individual stacked bars
the cyclist
the cyclist le 17 Juil 2016
To be clear, I am suggesting you use bar, and grouped bars, not bar3.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Polar Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by