Opened 10 years ago

Closed 10 years ago

#2780 closed defect (fixed)

plot({x,y}) in OMNotebook plots single line (not two)

Reported by: anonymous Owned by: Adeel Asghar
Priority: high Milestone: 1.9.1
Component: OMNotebook Version: trunk
Keywords: Cc:

Description

When running the OMNotebook - DrModelica - Differential Algebraic Equation System example, the plot({x,y}) command plots only one line ('x'), instead of the two lines ('x', 'y') it is supposed to plot. Trying plotAll() shows that the variables have been computed correctly. The original picture on startup looks ok, the error occurs when you step through the example by refreshing the command cells.

OMNotebook 3.0 Copyright 2004-2014 Open Source Modelica Consortium (OSMC)
Connected to OpenModelica 1.9.1+dev (r21903) (RML version)

Change History (4)

comment:1 by anonymous, 10 years ago

Milestone: Future1.9.1

comment:2 by Martin Sjölund, 10 years ago

To test this we could generate PNGs from OMPlot (using a special flag). Comparing the two files is easy:
compare -metric AE -fuzz 15% logo1.png logo3.png output.png

If the output is 0, no differences are found.

On the other hand, we still do not check that the plot command works if we add an outputFile option to it...

comment:3 by Adeel Asghar, 10 years ago

Fixed in r21979.

comment:4 by Martin Sjölund, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.