Opened 6 years ago
Last modified 6 years ago
#5166 new enhancement
Feature request: same increment of horizontal and vertical axis
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
For electrical and mechanical engineers it were very advantageous to be able to create parametric plots which have the same horizontal and vertical axis increment. I will show two examples in short:
1) Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance:
In order the plot the frequency response locus of the current of the circuit the following parametric plot shall be investigated:
currentSensor.i.re
(horizontal axis)currentSensor.i.im
(vertical axis)
The plot shall be a circle but it appears as ellipse, since the horizontal and the vertical axis do NOT have the same increment.
2) Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum:
The trajectory of frame_b of the first rod can be investigated creating a parametric plot of:
boxBody1.frame_b.r_0[1]
(horizontal axis)boxBody1.frame_b.r_0[2]
(vertical axis)
The trajectory shall the arc of a circle but it appears as the arc of an ellipse due to the same reason as of example 1.
So in addition to auto setup it were very good to have a checkbox for the option "Same increment of horizontal and vertical axis".
Attachments (2)
Change History (6)
by , 6 years ago
by , 6 years ago
Attachment: | Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.png added |
---|
Trajectory of double pendulum
follow-up: 4 comment:2 by , 6 years ago
I do not understand what exactly you mean by "subwindow view" to resize the plot. You may mean that I can resize the plot region (as a separate window or not) so that the plot appears as it had the increments of the horizontal and vertical axis. In this case: yes, I know that I can resize the plot window manually but this not a good solution to support a decent work flow. Whenever I manually resize a window it is only an approximate solution which is error prone and requires some extra time every time I want want to have the same increments on both axes.
comment:3 by , 6 years ago
Type: | defect → enhancement |
---|
comment:4 by , 6 years ago
Replying to dr.christian.kral@…:
Whenever I manually resize a window it is only an approximate solution which is error prone and requires some extra time every time I want want to have the same increments on both axes.
Yes, I meant manually resizing to have the visual appearance of a circle.
Actually I did not expect that you need to see circles exactly as circles. This is common in drawing programs, which to not carry axes and scales. In my experience, when people have scales showing numerical values, they do not need to have also a perfect visual round shape for circles, since scales tell them the full story.
So now I understand better your point.
Frequency response locus of current of series resonance circuit