PGPLOT Demo 10

Results of PGPLOT example 10

The image shows how the default colours can be overridden with routines PGSCRN (or PGSCR). On devices with a colour lookup table, changing the background colour takes effect immediately, but on others it only affects elements that are explicitly drawn in the background colour. Thus it is necessary to fill the page with the background colour, which is here done with PGERAS, before drawing anything else (this means that PGENV cannot be used)
PGplot Ex10
Page last updated 14 Feb 1999
Use your 'back' icon to return to the previous page or click here to return to the 'Fortran Friends' home page.