Menu

#262 Minor graphics issues

Run with Octave
open
None
2022-05-19
2021-04-12
No

Although drawing works sufficiently well, there are a few issues with drawing:

  • Under Windows, the plot always flashes: it is first drawn with thin lines (default?), then redrawn with thick lines. Cause is unknown, but seems to happen only under Windows.
  • To keep things simple, we use Matlab's standard "plot" instead of our self-written "plot_color" for the while being. Make a decision if we want to try out plot_color() at all.

Discussion

  • Burkhard Schmidt

    • Milestone: Introduce OOP --> Run with Octave
     
  • Burkhard Schmidt

    When trying to visualize reduced densities (1D or 2D, 'wave' or 'traj'), there occurs a problem under Octave that has to do with the 'subplot' command. Probably Octave doesn't like the mixing the 'col row index' and the 'Position' syntay of that command.

     
  • Burkhard Schmidt

    • status: pending --> open
     
  • Burkhard Schmidt

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,7 +5,7 @@
     *  The overall layout is slightly different. Most notable, the text boxes are moved to different positions.
     the TextBox property "FitHeightToText" is called "FitBoxToText" in Octave
     *  The contour handle has no property "color" in Octave. Should be replaced by "LineColor"
    -the axis property "XTickLabels" is called "XTickLabel" in Octave
    +* The axis property "XTickLabels" is called "XTickLabel" in Octave
     * To keep things simple, we use Matlab's standard "plot" instead of our self-written "plot_color" for the while being
     * For the while being, no animation output when running under Octave. But at least a series of snapshots as JPG files is being produced
     * How do we set the graphics window size under Octave? And how do we get the logos correctly placed in the four corners?
    
     
  • Ulf Lorenz

    Ulf Lorenz - 2022-05-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,11 +1,4 @@
    -Octave has a few minor graphics differences with respect to Matlab, which need to be adapted. 
    +Although drawing works sufficiently well, there are a few issues with drawing:
    
    -*  DoubleBuffer is marked as deprecated and should be removed. It is most likely also no longer needed in Matlab, so it has been deleted.
    -*  After plotting contours, a missing "drawnow" statement has been added. Somehow this does not seem to be relevant for Matlab, but Octave does not update the plot properly.
    -*  The overall layout is slightly different. Most notable, the text boxes are moved to different positions.
    -the TextBox property "FitHeightToText" is called "FitBoxToText" in Octave
    -*  The contour handle has no property "color" in Octave. Should be replaced by "LineColor"
    -* The axis property "XTickLabels" is called "XTickLabel" in Octave
    -* To keep things simple, we use Matlab's standard "plot" instead of our self-written "plot_color" for the while being
    -* For the while being, no animation output when running under Octave. But at least a series of snapshots as JPG files is being produced
    -* How do we set the graphics window size under Octave? And how do we get the logos correctly placed in the four corners?
    +* Under Windows, the plot always flashes: it is first drawn with thin lines (default?), then redrawn with thick lines. Cause is unknown, but seems to happen only under Windows.
    +* To keep things simple, we use Matlab's standard "plot" instead of our self-written "plot_color" for the while being. Make a decision if we want to try out plot_color() at all.
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.