ecl-logo Documentation

ValidGraphicsQ

ValidGraphicsQ[g]bool

check if g is a valid _Graphics (e.g. no error showing over the graphic).

ValidGraphicsQ[g,ops]bool

also checks that specified options match those in the graphic.

ValidGraphicsQ[zoomPlot]bool

check if a plot produced by Zoomable is a valid graphic.

Details

    Input
    Output
    Messages
  • InvalidOptionsCannot check the options `1`

Examples

Basic Examples  (5)

A valid Disk graphic:

A string is not a valid graphic:

A valid ListPlot:

ListPlot with invalid epilog:

Check options of the graphic:

Additional Examples  (5)

Check a list of graphics options:

Return False if graphics options don't match:

ListPlot with valid epilog:

A valid 3D plot:

An invalid 3D plot:

Attributes  (1)

Listable  (1)

Works on a list of inputs:

Messages  (1)

InvalidOptions  (1)

Return False if given unknown graphics option: