Opened 12 years ago
Closed 8 years ago
#2232 closed defect (fixed)
OMEdit: is it possible to set the axis regions manually?
| Reported by: | Christian Schubert | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | high | Milestone: | 1.12.0 |
| Component: | OMEdit | Version: | trunk |
| Keywords: | Cc: | Francesco Casella |
Description
Just a quick question:
If i plot a variable from a simulation result the axes of the plot window is fitted automatically.
Is it possible to supply min/max for the x or y axis manually?
This is a very helpful features to create equal plots for a parameter study, where the min/max of the signals vary.
Change History (14)
comment:1 by , 12 years ago
| Priority: | high → normal |
|---|---|
| Type: | defect → enhancement |
comment:2 by , 12 years ago
| Status: | new → accepted |
|---|
comment:4 by , 11 years ago
| Milestone: | 1.9.1 → 1.9.2 |
|---|
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:5 by , 11 years ago
| Milestone: | 1.9.2 → 1.9.3 |
|---|
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:7 by , 10 years ago
Sometimes simulations blow up, producing very large results (e.g. 1e+140). The cause of the error can only be identified by zooming in so that the axis has a range of, say, 1e3. This requires to zoom in a hundred times or so, which is not particularly nice. Another compelling reason to add this feature.
comment:8 by , 10 years ago
| Priority: | normal → high |
|---|---|
| Type: | enhancement → defect |
comment:12 by , 9 years ago
| Milestone: | 1.11.0 → 1.12.0 |
|---|
Milestone changed to 1.12.0 since 1.11.0 was released.
comment:13 by , 8 years ago
any news on this?
For me it has now become one of the more urgent things to do on OMEdit.
comment:14 by , 8 years ago
| Cc: | added |
|---|---|
| Resolution: | → fixed |
| Status: | accepted → closed |
Done in 16532e5/OMPlot.
Now you can set the axes range manually. Click on Setup button in the toolbar and then select Range tab in the setup window.

OMEdit uses OMPlot for plotting and this feature is available in OMPlot. However, it's not supported via OMEdit. You can still use OMPlot for while,
adeas31@IDA-LIU085 /c/OpenModelica/trunk/build/bin $ OMPlot.exe Usage: OMPlot [OPTIONS] [--filename=NAME] [variable names] OPTIONS --title=TITLE Sets the TITLE of the plot window --filename=NAME Sets the NAME of the file to plot --legend=[true|false] Display a variable legend in the window --grid=[true|false] Enable a grid in the window --logx=[true|false] Use log scale for the x-axis --logy=[true|false] Use log scale for the y-axis --xlabel=LABEL Use LABEL as the label of the x-axis --ylabel=LABEL Use LABEL as the label of the y-axis --plot Create a normal plot --plotAll Create a normal plot containing every variable in the result-file --plotParametric Create a parametric plot (plot variables as functions of each other) --xrange=LEFT:RIGHT Sets the initial range of the x-axis to LEFT:RIGHT --yrange=LEFT:RIGHT Sets the initial range of the y-axis to LEFT:RIGHT --new-window=[true|false] Create a MDI dialog in the plot-window