|Subject:||Re: Grid-lines in "print" to png appear black always, not grey|
|Date:||Mon, 21 Aug 2017 16:26:45 +0100|
>> plot( 1:100 )
>> grid on
>> print( 'test.png', '-dpng ','-S500,500', '-color' )
engineeringliberty. wordpress.com/2011/10/07/ making-great-plots-in-octave- and-matlab-too/
>>I can see that the second graph down has an example of nice grey (as per the window)
>>The figure looks like this in Octave
>>It prints to test.png like this
>>I have been through all the gca settings I can see, relevant. There's a LOT.
>>The printed plot respects none of them
>>If anyone could help diagnose this it would be appreciated
>Very sorry, correction -
>Octave 4.2.1 (Win)
This is a limitation of openGL (qt and fltk) and -dpng printing devise.
For Octave 4.2.1 (Win), dpngcairo can be used on gnuplot graphics_toolkit.
plot( 1:100 )
print( 'test.png', '-dpngcairo','-S500,500', '-color' )
|[Prev in Thread]||Current Thread||[Next in Thread]|