Skip to content

Plots are not always shown #6

Description

@woutersj

Plotting in a session doesn't always work.
If I put these lines in a session

octave>  x = [-pi:0.1:pi];
octave>  hold on;
octave>  plot(x,sin(x));
octave>  plot(x,cos(x))

and repeatedly execute the last two commands, after two times the plot doesn't show up anymore. It seems the method to set TM_OCTAVE_PLOT_DIGEST is not robust.
It seems like if we simply do

    if disp_ans
      tmplot (); ## call TeXmacs plotting interface
      clf()
    endif

in tmrepl.m that plots show as expected, since tmplot() already checks whether the plot is empty or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions