Set background color in satid
parent
29d538553f
commit
905e7eca2f
|
@ -61,3 +61,7 @@ for i in cpgimag
|
|||
&& echo "A function for $i isn't fully implemented in Giza"
|
||||
done
|
||||
|
||||
echo -e" Maybe add for pgplot color compatibility, around giza_set_font:\ngiza_set_colour_palette (1);"
|
||||
|
||||
echo -e "For black background, after giza_open_device_size_float\ngiza_set_colour_representation_float (0, 0.0, 0.0, 0.0);\ngiza_draw_background ();\n\n"
|
||||
|
||||
|
|
|
@ -313,12 +313,17 @@ main (int argc, char *argv[])
|
|||
|
||||
if (argc == 3) {
|
||||
giza_open_device_size_float ("/png", "satid", 680, 680, 3);
|
||||
giza_set_colour_palette (1);
|
||||
giza_set_font ("Helvetica");
|
||||
giza_set_colour_representation_float (0, 0.0, 0.0, 0.0);
|
||||
giza_draw_background ();
|
||||
}
|
||||
else {
|
||||
giza_open_device_size_float ("/xs", "satid", 680, 680, 3);
|
||||
giza_set_colour_palette (1);
|
||||
giza_set_font ("Helvetica");
|
||||
giza_set_colour_representation_float (0, 0.0, 0.0, 0.0);
|
||||
giza_draw_background ();
|
||||
}
|
||||
giza_set_viewport_float (0.1, 0.95, 0.1, 0.8);
|
||||
|
||||
|
|
Loading…
Reference in New Issue