Plotting with Madagascar
seaninho94 opened this issue · comments
seaninho94 commented
Is it possible to change the background of the images? I have always a black background and yellow lines when I use sfgraph or sfwiggle, can I change it to black lines over white?
Thank you
Julien Moreau commented
in your Sconstruct you can add
import os
os.environ['SFPENOPTS'] = 'bgcolor=w'
seaninho94 commented
I tried but it didn't change anything
Julien Moreau commented
do you use sfpen for display?
I don't know where things are today as I am still on Madagascar 2
You have to dig the environmental variable of your rendering routine.
Zhicheng Geng commented
Try sfpen bgcolor=w filename.vpl
seaninho94 commented
Ok thank you very much, now it works. There are other options for bgcolor?
Zhicheng Geng commented
There are four options:
Lines 195 to 208 in 9cafc45
But there are only two background colors, white or black.