Algosim documentation: AdjustVisual

AdjustVisual

Adjusts the settings of a visual object (chart, diagram, plot, or geometric primitive).

Syntax

Description

If v is a reference to a visual object and settings is a sequence of settings of the form

  "name": value

then AdjustVisual(v, settings) applies the specified settings to the object referred to by v. AdjustVisual(v, settings) returns v; hence, after a reference is returned, you may perform several successive AdjustVisual(ans, ...) commands to adjust it step by step.

If settings is omitted, the object’s settings dialog box is shown modally and synchronously.

See Visual settings for a list of all applicable settings for each kind of visual object.

Examples

r ≔ plot(−√(1 − x^8) < y < √(1 − x^8), −1, 1, 0.0001)

Image 1

AdjustVisual(r,
  "lines": true, "line color": "red", "line width": 3,
  "fill color": "red", "fill opacity": .25)

Image 2

AdjustVisual(r,
  "lines": false,
  "fill color": "black", "fill opacity": .25)

Image 3

AdjustVisual(r)

Image 4

See also