フィルターのクリア

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

1 回表示 (過去 30 日間)
Leo Simon
Leo Simon 2016 年 7 月 17 日
コメント済み: Leo Simon 2016 年 7 月 18 日
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.

採用された回答

John BG
John BG 2016 年 7 月 18 日
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
  1 件のコメント
Leo Simon
Leo Simon 2016 年 7 月 18 日
Thanks very much! Just what I needed.

サインインしてコメントする。

その他の回答 (1 件)

the cyclist
the cyclist 2016 年 7 月 17 日
編集済み: the cyclist 2016 年 7 月 17 日
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 件のコメント
Leo Simon
Leo Simon 2016 年 7 月 17 日
編集済み: the cyclist 2016 年 7 月 17 日
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 2016 年 7 月 17 日
To be clear, I am suggesting you use bar, and grouped bars, not bar3.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by