Legend and triad stretching with window aspect ratio... #13191
-
We're trying to combine I've noticed that when the viewing/render window is stretched, i.e. the aspect ratio isn't 1:1, the legends and triad get distorted by the amount of stretching. In the case of the legends, I can try to correct this by changing the width of the legend but it seems like this legend aspect ratio should be independent of the display window aspect ratio. In the case of the triad, there isn't way I know of to correct this distortion and relative length of the triad axes independent of the display window aspect ratio. When I don't correct the legends when the display window doesn't have a 1:1 aspect ratio, they don't look nearly as good as when the ratio is 1:1. The triads simply look wrong. Thanks for any thoughts, comments, etc.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi Terry, I cannot immediately duplicate this issue. Can you provide more details?
Thanks, |
Beta Was this translation helpful? Give feedback.
-
This has been an on going issue (for me) even since I can remember using VisIt, on all OS's, with or without client-server, etc. That said, I will provide some example images as soon as I can generate some... |
Beta Was this translation helpful? Give feedback.
-
Below are three images. The first image has a 1:1 aspect ratio and the legend and triad look reasonable (to me). In the second image, I reduced the height considerably. This caused the legend and triad to shrink in the same direction. In my opinion, ideally, both would retain the same proportions they had in the first image. To do this they may need to shrink in both directions (as the object in the image did). The third image , I reduced the width considerably. Again, I think the legend and triad shouldn't change aspect ratio. I hope this makes some sense and clarifies the issue... |
Beta Was this translation helpful? Give feedback.
-
Wow, I'm able to reproduce the triad issue trivially. I've never noticed it before, probably because I normally have a window with close to a 1:1 aspect ratio. The legend behavior actually make sense to me, since the width of the legend is a fraction of the width of the window. For the annotations the positioning is done in a 0 to 1 space of the window, so as the aspect ratio changes the positions change. The sizing is done either as a fraction of the width or height of the window, so again things may change as the aspect ratio changes. I don't know of a better solution than that. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the images, Terry, and for the comments, Eric. I was paying attention to the axis and not the legend and triad. I can reproduce this as well. I've added this as an issue in our main issue tracker |
Beta Was this translation helpful? Give feedback.
Thanks for the images, Terry, and for the comments, Eric. I was paying attention to the axis and not the legend and triad. I can reproduce this as well. I've added this as an issue in our main issue tracker