[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57651] Second print command results in differ
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57651] Second print command results in different marker size |
Date: |
Sun, 26 Jan 2020 23:33:16 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #7, bug #57651 (project octave):
@Pantxo: I tried to benchmark any slowdown from the proposed patch using
N = 20;
close all;
bm = zeros (N,1);
for i = 1:N
tic;
h = figure ();
bm(i) = toc;
close (h);
endfor
Instead, I got reasonably frequent segmentation faults. I don't think this
approach will work.
Next, I tried adding something equivalent to print.m
if (strcmp (get (opts.figure, "PaperPositionMode"), "auto"))
set (opts.figure, "PaperPositionMode", "manual");
set (opts.figure, "PaperPositionMode", "auto");
endif
However, this still produced a slightly different print out for the first
time. I tried various combinations of adding drawnow(), pause(), etc. and it
is always a problem.
I'm not sure how to proceed. It works if I do something like
set (gcf, 'paperposition', [0, 0, 1, 2]);
set (gcf, 'paperpositionmode', 'auto');
but only when this occurs outside of print.m.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57651>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/21
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/21
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/21
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/21
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Pantxo Diribarne, 2020/01/22
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/22
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Pantxo Diribarne, 2020/01/23
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size,
Rik <=
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Pantxo Diribarne, 2020/01/27
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/28
- [Octave-bug-tracker] [bug #57651] Second print command results in different marker size, Rik, 2020/01/28