In this subsection we briefly demonstrate how to plot graphs of 2D and 3D objects. Graph plotted in SageMath can be exported in various format such ’pdf’,’png’,’ps’,’eps’ etc.
Listing some of the standard functions in SageMath which can be used for plotting 2D graphs. Readers are advised to go through the plotting section of the help manual and explore more. Some of the standard plotting function are as follows.
SageMath provides various options to render graphs in desired look and feel for clarity. One can change thickness, color, title, figure size, labeling axes, background, grids etc. Let us look at some of these options.
3D plotting in Sage: Several functions exist to deal with 3D plotting in Sage. We shall just demonstrate a few and leave it to the readers to explore the rest.
SageMath provides a way to create an interactive application for users. This is done using the SageMath function @interact. One can create interactive applications using input boxes, sliders, and selectors. For several examples on Sage @interact, the reader can refer to Sage Interact Wiki.