Opened 5 years ago

Last modified 3 years ago

#5839 closed enhancement

Plotting curves with toggled sign — at Version 1

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone: 1.18.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc:

Description (last modified by massimo ceraolo)

Currently, OMEdit does not allow plotting mathematical elaboration of variables, such as sum or product of two variables, FFT, etc. I understand that adding this would require a strong effort and I'm not discussing it here.

However, there is one single operation that is, I think, by far the most useful that, I suppose should be added very easily: change of sign.
In fact, very often we have models in which two quantities should be very near to each other in absolute value, but opposite in sign. A graphical comparison of them would be greatly enhanced if one of them would be plotted with the opposite sign.

Just as an idea, we could exploit the fact that now right-clicking on the name of a curve in a plot does nothing. This could be used to toggle sign. The variable name should be displayed with the correct sign. For instance, Resistor.p.i, once toggled should read -Resistor.p.i

Change History (1)

comment:1 by massimo ceraolo, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.