MantisBT - ParaView
View Issue Details
0012466ParaView(No Category)public2011-08-03 13:362014-08-29 10:59
Alan Scott 
Utkarsh Ayachit 
highminorhave not tried
closedfixed 
3.12 
4.24.2 
Sandia
feature
0012466: Plot over line should have an option to rescale every timestep
Plot over line should have an option to rescale every timestep

Windows, 3.10.1, local server.
Open Can.exo.
Filters/ Data Analysis/ Plot over line.
Play.
- feature request - note that the 2d plot does not rescale. That's generally good, but there should also be an option to have it rescale every timestep.
No tags attached.
related to 0014899closed Utkarsh Ayachit Change 2d, View properties, Axis use custom range to set min/max 
related to 0013818closed Utkarsh Ayachit Need ability to set min and max range for 2d axes 
related to 0014815closed Utkarsh Ayachit Add 2d automatic resizing of X and Y axis 
Issue History
2011-08-03 13:36Alan ScottNew Issue
2011-08-08 15:48Ken MorelandNote Added: 0027307
2011-08-16 20:13Alan ScottNote Added: 0027370
2011-08-17 10:12Ken MorelandTypeincorrect functionality => feature
2011-08-17 10:12Ken MorelandNote Added: 0027374
2011-08-17 10:12Ken MorelandSummaryPlot over line should rescale ever timestep => Plot over line should have an option to rescale every timestep
2011-08-17 10:12Ken MorelandDescription Updatedbug_revision_view_page.php?rev_id=382#r382
2012-05-31 10:26Utkarsh AyachitStatusbacklog => todo
2013-01-15 10:57Utkarsh AyachitNote Added: 0030139
2013-01-15 12:50Utkarsh AyachitNote Edited: 0030139bug_revision_view_page.php?bugnote_id=30139#r548
2013-01-15 12:51Utkarsh AyachitNote Edited: 0030139bug_revision_view_page.php?bugnote_id=30139#r549
2013-01-15 19:32Alan ScottNote Added: 0030142
2013-01-23 21:10Utkarsh AyachitRelationship addedrelated to 0013818
2014-01-16 17:00Utkarsh AyachitTarget Version => 4.2
2014-07-28 22:22Utkarsh AyachitStatustodo => gatekeeper review
2014-07-28 22:22Utkarsh AyachitFixed in Version => git-master
2014-07-28 22:22Utkarsh AyachitResolutionopen => fixed
2014-07-28 22:22Utkarsh AyachitAssigned To => Utkarsh Ayachit
2014-07-28 22:26Utkarsh AyachitNote Added: 0033126
2014-07-28 22:26Utkarsh AyachitStatusgatekeeper review => customer review
2014-07-30 13:12Utkarsh AyachitRelationship addedrelated to 0014815
2014-07-30 14:59Alan ScottRelationship addedrelated to 0014899
2014-07-30 15:00Alan ScottNote Added: 0033153
2014-07-30 15:00Alan ScottStatuscustomer review => closed
2014-08-29 10:59Utkarsh AyachitFixed in Versiongit-master => 4.2

Notes
(0027307)
Ken Moreland   
2011-08-08 15:48   
I completely disagree. The 2d plot should NOT rescale every time step for the same reason the color bar should NOT rescale. Rescaling the axes in the plot obfuscates the temporal trends. I consider the new behavior in 3.10 to be correct and the old behavior in 3.8 to be incorrect.
(0027370)
Alan Scott   
2011-08-16 20:13   
Hate to say it, but I totally disagree back. :-)

You are trying to dictate to users how they can use the tool. I agree that the default should be as you state, but there are cases that a user does want each time step to reset - and they currently accomplish this manually. That is a miserable way to create a movie - screenshot by screenshot. Ask me for a few usecases that I have dreamed up, if you like.

This is a good example of the common tug of war - do we (developers/researchers) dictate what users want because we think we know better than they do, or do we listen to users and give them what they want, even if they can misuse it? Users should have the flexibility to do either.
(0027374)
Ken Moreland   
2011-08-17 10:12   
Actually, I would characterize it differently. Should we developers provide the tools to make crappy visualizations? In general, we grudgingly say yes but by default do the right thing.

Your original wording of the description of this bug was to change the permanent behavior to always change the scale for every time step. To this I strenuously, violently object.

Your last note said that this behavior should really be an option that is not on by default. Although I believe that your scale resetting user is doing a lot of work to make his/her data obfuscated (we've already bantered significantly about the color scale), I don't have an objection to creating this option.

I took the liberty of changing the wording of this issue's summary and description. It is no longer asking to revert the scaling behavior to 3.8 (bad, bad, bad), but asking for an option to switch to it. I think this is a fine compromise.
(0030139)
Utkarsh Ayachit   
2013-01-15 10:57   
(edited on: 2013-01-15 12:51)
To some extent, ParaView already support this. Before you say anything, I admit it's not obvious to the users :), and we can add an option somewhere (probably the View Settings dialog?) for the same, but here's what we have in 3.98.0:

* by default, chart view is in an "auto-scale" mode. So if you do the steps exactly as you mentioned, the chart will indeed scale to fit all data.

* every time you hit "reset camera" with the chart view active, the view enters this "auto-scale" mode.

* as soon as you interact with the view i.e. pan or zoom, the axis ranges that you pick as a consequence of your interaction are treated as "fixed". Now when you animate, they won't change with time.

(0030142)
Alan Scott   
2013-01-15 19:32   
OK, now I agree with Ken. Even though you (Utkarsh) are correct, both functionality is available, it is not obvious. We should do the following:

* Default to not changing the axis' scaling and offset every timestep.
* Give users the option to auto-scale every timestep if they desire. Place this in the View Settings Dialog.
(0033126)
Utkarsh Ayachit   
2014-07-28 22:26   
Alan,

This is the current behavior:

On the "Properties" panel, under the view section for the Line Chart View, for example, there are check-boxes for "Left Axis Use Custom Range", "Right Axis Use Custom Range". When not checked, the axes is automatically scaled with the data changes. Thus, it automatically scaled over time too.

Now, if user manually interacts with the view this checkbox automatically becomes checked and a "custom axes range" is setup using the axes range setup by the interaction. Now the axes is locked and won't change over time,

User can of course, uncheck these "custom range" buttons and the axes will start readjusting again.

Does this work as an acceptable solution?
(0033153)
Alan Scott   
2014-07-30 15:00   
I am closing this bug, since this functionality has been implemented.

I added a new bug, asking that when the Axis Use Custom Range button is clicked, min and max would be preloaded with real data from the plot.

Tested local server, master, Linux.