Opened 8 months ago

Last modified 8 weeks ago

#31264 new enhancement

Document setting zmin, zmax in plot3d and other 3d plots

Reported by: slelievre Owned by:
Priority: major Milestone: sage-9.5
Component: graphics Keywords: plot3d, zmin, zmax
Cc: slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by slelievre)

Various types of 3d plots lack a way of setting zmin and/or zmax, or a zrange:

  • plot3d
  • plot method of hyperplane arrangement
  • plot method of polyhedron

while some others provide one, such as:

  • implicit_plot3d
  • plot_vector_field3d

Three-dimensional parametric plots (whether 3D curves with parametric_plot or 3D surfaces with parametric_plot3d) lack a way to set bounds on all three coordinates x, y and z.

This is frequently requested by users, see for instance:

Though such bounds cannot be applied when creating 3D plots, 3D graphics objects have a method add_condition that allows to truncate to a region.

It would be good to add examples of using this method to the documentation pages for plot3d and parametric_plot3d.

An example is provided in Frédéric Chapoton's answer to

Change History (4)

comment:1 Changed 6 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date.

comment:2 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5

comment:3 Changed 8 weeks ago by slelievre

  • Description modified (diff)

comment:4 Changed 8 weeks ago by slelievre

  • Description modified (diff)
  • Summary changed from Allow setting zmin, zmax in plot3d and other 3d plots to Document setting zmin, zmax in plot3d and other 3d plots
Note: See TracTickets for help on using tickets.