help-octave
[Top][All Lists]
Advanced

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

quering offscreen rendering


From: JuanPi
Subject: quering offscreen rendering
Date: Wed, 13 Apr 2016 11:08:22 +0200

Hi all,

I am using Nvidia drivers so when the current figure is in 'visible'
'off' I cannot produce images:

error: __osmesa_print__: support for offscreen rendering was disabled
when Octave was built

I was wonderig if this can be checked in .otaverc in a elegant way,
besides the obvious
try
  plot(0,1);
  set(gcf,'visible','off')
  print('-dpng', '/tmp/eraseme.png')
catch
  # do something
end

-- 
JuanPi Carbajal
Public GnuPG key: 9C5B72BF
-----
The end of funding: "Many researchers were caught up in a web of
increasing exaggeration."
- Hans Moravec



reply via email to

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