Commit Graph

781 Commits

Author SHA1 Message Date
Magne Sjaastad
60aeda1e6f Adjust auto plot settings
* Adjust the max value for summary curves to get more space on top of plot
* Compute axis range before computing auto plot settings
* Use axis object name as key when computing aggregated min/max
* Guard infinite recursion for enableAutoValue()
2022-09-15 08:19:41 +02:00
Magne Sjaastad
8dc04d00e1 Add missing update of curve legend text 2022-09-15 08:19:41 +02:00
jonjenssen
572d46272e Summary Plot Editor: Context menu update (#9289)
* Summary plot editor context menu update
2022-09-15 08:19:41 +02:00
Magne Sjaastad
5eccff93c9 Fix typo for StimPlanFileName keyword 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d1a8de0aa8 Improve user interface for axis linking
Several adjustments to UI as discussed with Håkon and Alireza.

* add link/unlink command to right-click menu of axis
* select curve in project tree when clicking on legend item
* make sure internal legend is always visible when toggling plot
* fix issue when using sub plot as data source for axis range
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
2e5626941d #9281 Analysis Plot: fix ensemble data source selection.
Fixes #9281.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
437f26698d Issues related to user course
* #9277 Observed Data : Assign case ID when importing observed data
If no case ID is assigned, the first observed case is always used when creating new plots of observed data

* #9278 Match on summary vector name when curve unit text is missing
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
b0a959c591 #9280 Fix missing horizontal error bars
* #9280 Fix missing horizontal error bars.
The x axis was not assigned properly for the error bars in the plot curve.
* Propagate error bar visibility state
2022-09-15 08:19:41 +02:00
Magne Sjaastad
a8fbb4f70e Fix missing update of export well name 2022-09-15 08:19:41 +02:00
Magne Sjaastad
e1dda4c6b3 Adjustments for RC2
* Add dependency to Svg
* Renaming
* Remove special handling of bright colored curves
For some ensemble cases, the curve highlight does not work well. A prototype for ensemble curve highlight was introduced, but this was not working for a collection of standalone summary curves.
* Set version to RC_02
2022-09-15 08:19:41 +02:00
jonjenssen
5014d7ddf7 Highlight the curve belonging to the legend you click on. (#9259)
* Highlight the curve belonging to the legend you click on.
* Make sure legend curve order remains the same when changing hilited curve
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
a8b3ddc757 Thermal Fracture: rotate and place fracture according to template data. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
78464b772f #9100 Thermal Fracture: add action to place using template data 2022-09-15 08:19:41 +02:00
Magne Sjaastad
72c070c3a9 Use field auto values for summary plots
Use auto value concept in summary plot configuration. Default behavior is unchanged, but it is now possible to unlink a field to specify a custom value for this field.

Other changes:
* Add missing requirement for Svg in test application
* Use calculator icon and rename panel text
Use icon and relevant text to make it clear that the content in Calculator Data can be used for Grid Property Calculator and nothing else.
* Add example with scoped enum and auto value
* Use enum value starting av 10 to make sure enum values (not option item index) are working as expected
2022-09-15 08:19:41 +02:00
jonjenssen
1467c54aad Refresh data source tree when a grid calculation is updated (#9255) 2022-09-15 08:19:41 +02:00
Magne Sjaastad
edaaf4242a #9260 Guard pointer access and update tree view when plot is created
Guard access to plot curve
Update tree view when object is created
Use zoomAll to update x value range
2022-09-15 08:19:41 +02:00
Magne Sjaastad
723e047365 Fix some smaller issues
* #9253 Well allocation plot: Keep checked state of curves when changing time step
* #9254 Guard pointer when clicking on linked time axis icon
* #9250 Cross Plot : Ensure summary case change update both x and y data sources
2022-09-15 08:19:41 +02:00
Jon Jenssen
f979aeba23 Make sure curve legends are shown in same order as the curve items in the explorer when moving them up/down 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d806c5225b #9251 Cell Edge : Add more tests on valid cell edge result 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
fe62fb76ff #9233 Correction Report Plot: disable axes alignment for better spacing.
Regression introduced in 71d18b9e76.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
43e38d8aff Remove unused members and remove includes 2022-09-15 08:19:41 +02:00
Magne Sjaastad
6fb376156a Add multiple selected cell edge results 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
a09e17d14a #9104 Thermal Fracture: Handle offset and scaling. 2022-09-15 08:19:41 +02:00
Magne Sjaastad
8f9fbab7e0 #9231 Contour Map: Fix crash when adding formations after a view is created 2022-09-15 08:19:41 +02:00
Magne Sjaastad
b7e2e5e3c2 Regression Test: Do not access RimWellLogPlotCollection directly from desctructors
Regression tests are calling RimProject::reset(), and this function deletes the RimProject object.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
6ac6b5a795 Depth Axis : Improve visibility logic 2022-09-15 08:19:41 +02:00
jonjenssen
cd094892c9 Avoid recalculating streamlines when a 3d calculation is done. 2022-09-15 08:19:41 +02:00
Magne Sjaastad
947de3ffb1 Simplify access to RimMainPlotCollection
* Add current() to RimMainPlotCollection to avoid include of RimProject
* Remove "segment" prefix
* Reload data when RftCase changes
2022-09-15 08:19:41 +02:00
Magne Sjaastad
9f9e29ff8c Remove control flag in setCollapsedByDefault
* Remove control flag in setCollapsedByDefault
* Set regions/annotations collapsed by default
2022-09-15 08:19:41 +02:00
Magne Sjaastad
07f0362298 Add sample count to grid property statistics 2022-09-15 08:19:41 +02:00
Magne Sjaastad
0b74be6c5e Preferences : Set initial selection when selecting plot templates 2022-09-15 08:19:41 +02:00
Magne Sjaastad
30921a158b Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
2022-09-15 08:19:41 +02:00
Jon Jenssen
ee116c8f3d Make sure errorbars are shown on project reload 2022-09-15 08:19:41 +02:00
Magne Sjaastad
acaea8de81 Renaming of features 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
f9f49e9f58 #9202 Summary Multi Plot: add option for having the legend inside the plot 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
318f187635 #9202 Well Log Plot: add option for having the legend inside the plot 2022-09-15 08:19:41 +02:00
Magne Sjaastad
df16e1fe5c Add rename case to summary and grid cases (#9204)
* #9203 Summary Case : Add rename to right-click menu
* Janitor: Move ID and description to private fields
* Eclipse Case: Add rename to right-click menu
* Rename feature
2022-09-15 08:19:41 +02:00
Magne Sjaastad
a36c07dd64 Create features to append plots with RFT curves (#9200)
* Add create plot with RFT curve
* Add RFT segment plot with curve
* Create tracks for all three branch types

* Make sure the zero is displayed when adjusted minimum is changing sign
2022-09-15 08:19:41 +02:00
jonjenssen
6a745671d7 Selecting a well path in 3d view can now update selected well path in well log plots 2022-09-15 08:19:41 +02:00
Magne Sjaastad
4cb26f69c5 RFT: Support device and annulus branches (#9168)
* Add unit test used to read data from WSEGLINK
* Add segment branch type
* Add detection of device branches
* Add data source stepping on branch type
* parse wseglink data
* add RFT case as child of RimFileSummaryCase
2022-09-15 08:19:41 +02:00
Magne Sjaastad
37d6a44b2a #9194 Area Fill : Area filled curves should use zero as base line 2022-09-15 08:19:41 +02:00
jonjenssen
d6ab69a154 Link selection in 3D view with plots (#9195)
* Allow well selections in 3D view to update well selection in summary plots and well log plots
2022-09-15 08:19:41 +02:00
Magne Sjaastad
4b1a6b48a5 Show well completion annotations in horizontal plots (#9193) 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
34cdd1f0d7 Well Log Plot: avoid hard-coding depth/value axis 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
d9aa8bd6d2 #9092 WLP: show only axis for first and last track. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
e984e634e7 Well Log Plot: Avoid hard-coded axis (gave incorrect axis labeling). 2022-09-15 08:19:41 +02:00
Magne Sjaastad
98df56280e #9183 Do not use undo/redo for GeoMech result definition 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d3330cff90 Avoid setting summaryCaseX, as this will cause issues for RimSummaryPlotNameHelper
In summary plots, we only use summary case for Y-axis
2022-09-15 08:19:41 +02:00
Magne Sjaastad
3fe6022c33 Plot Manager: Activate individual sub plots per data source 2022-09-15 08:19:41 +02:00
Magne Sjaastad
69f7c23ce4 Make sure curve names and plot titles are updated using Plot Editor 2022-09-15 08:19:41 +02:00