"send current view to workspace" does not export dataObject for zoomed figure window

Issue #186 resolved
Johann Krauter created an issue

The plot feature to send the current dataObject to workspace does not work with following plot properties:

  • keepAspectRatio: True
  • yAxisFlipped: True
  • reduced figure window so that the image width limits the scale

Comments (4)

  1. Johann Krauter reporter

    itomQwtPlot.cpp line 1150, 1152:

    • m_dataObjPlane->getPhysToPix2D(yInterval.maxValue(), yd1, validY1, xInterval.maxValue(), xd1, validX1);
    • returns validY0 and validY1 als False
    • line 1173 returns with empty dataObject
    • dataobj.cpp line 2667 sets “isInsideImageY” to False, because phyiscal value is negativ.

  2. Log in to comment