help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

annnotation crash octave while print


From: soniko
Subject: annnotation crash octave while print
Date: Mon, 6 May 2019 03:27:08 -0500 (CDT)

Octave crashes without error when i`ll call print(image successfully saving)
for next code

graphics_toolkit('fltk');
h=figure('renderer', 'opengl','renderermode', 'manual', 'color', 'white',...
'inverthardcopy', 'off','units', 'inches','paperunits',
'inches','paperorientation', 'portrait',...
'visible', 'on','name', 'amplitudeImage','defaulttextcolor',
'black','position', [1 1 7 8.5],...
'paperposition', [0.5 0.5 7 8.5],'numbertitle', 'off');

ofst=0.215;
h=axes('units', 'inches', 'position', [0 0 7 8.5], 'Visible', 'off');
annotation('line',[0.01 0.01],[0.7168 0.915]-ofst,'color',[0.0 0.0
0.0],'linewidth',1)% bottom bar
annotation('line',[0.008 0.012],[0.7168 .7168]-ofst,'color',[0.0 0.0
0.0],'linewidth',1)% bottom bar
annotation('line',[0.006 0.014],[0.8159 0.8159]-ofst,'color',[0.0 0.0
0.0],'linewidth',1)% bottom bar
annotation('line',[0.008 0.012],[0.915 0.915]-ofst,'color',[0.0 0.0
0.0],'linewidth',1)% bottom bar
print mypng.jpg

I tried change graphics toolkit,  units type for axes but it did not helps.
But all right if I am not using annotation.
What can I replace annotation?

Octave v5.1.0, Windows 10.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]