Skip to content

Conversation

@PaulWessel
Copy link
Member

Description of proposed changes

This PR adds one more time-function (via -Mz) that adds the relevant fraction of the amplitude [1] to the data set's z-values (mostly expected to be zero). Thus, as z now becomes modulated around the event time the colors obtained by CPT lookup also changes. I have updated the documentation and added the fourth time-function description, as well as a movie still example (trajectory5.sh) which when run as GIF demonstrates the effect (note the change of line color at the burning end).

trajectory5

Closes #5684.

This PR adds one more time-function via -Mz that adds the relevant fraction of the amplitude [1] to the data sets z-value (mostly expected to be zero).  Thus, as z now changes with time the colors obtained by CPT lookup also changes.
@PaulWessel PaulWessel added the new core module feature PR that implements a new core module feature label Aug 22, 2021
@PaulWessel PaulWessel self-assigned this Aug 22, 2021
@PaulWessel
Copy link
Member Author

Note: I am adding a modifier +z[z] to -Ar so that it is easy to insert a constant z-column on the fly. This columns is needed if -Mz is used and most lines will not have an original z-column, so this simplifies making one.

Copy link
Member

@Esteban82 Esteban82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great feature. Thanks Paul!

@Esteban82 Esteban82 merged commit 9340a60 into master Aug 23, 2021
@Esteban82 Esteban82 deleted the events-color-change branch August 23, 2021 02:05
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog new core module feature PR that implements a new core module feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let events also have option to modulate color with time

4 participants