Maxima by Example, Ch. 13: 2D Plots and Graphics using qdraw and wxqdraw
Ted Woollett
Chapter 13 presents many examples which use qdraw.mac, an interface to Maxima's draw2d function (or
to the wxdraw2d function).
Either qdraw(...) or wxqdraw(...) provides much quicker access to many features of draw2d, with default plot properties of interest
to users from the physical sciences and engineering. (This chapter is the old chapter 5.) This April, 2018 update
includes examples of using a new function wxqdraw, which calls wxdraw2d, and provides inline plots when using the
wxMaxima interface. wxqdraw(...) has the same syntax as qdraw(...). Another new function is wxqdensity, which has the same syntax as qdensity.
- --mbe13qdraw.pdf : April 16, 2018, Maxima 5.36.1, 62 pages
- --mbe13qdraw.tex : April 16, 2018, Latex code file
- --qdraw.mac : A Graphics Interface to draw2d: April 16, 2018, Maxima 5.36.1
- --wxqdraw.wxm : Examples Using wxqdraw in wxMaxima: April 16, 2018, Maxima 5.36.1
- --qdrawcode.txt : Copy and Paste Code: April 16, 2018, Maxima 5.36.1
- --faithful.dat : Old Faithful Geyser data file
- --fit1.dat : Data File
- --fit2.dat : Data File
Chapter 13 Topics
- qdraw or wxqdraw Syntax Summary
- Quick Plots for Explicit Functions: ex(...) and ex1(...)
- Parametric plots with para(...)
- Polar Plots with polar(...)
- Implicit plots with imp(...) and imp1(...)
- Contour Plots with contour(...)
- Density Plots
- Scatterplot Example: Old Faithful Wait Times vs. Eruption Durations
- Data Plots, Error Bars, Least Squares Fit
- Geometric Figures: line(...)
- Geometric Figures: rect(...)
- Geometric Figures: poly(...)
- Geometric Figures: circle(...) and ellipse(...)
- Geometric Figures: vector(..)
- Geometric Figures: arrowhead(..)
- Greek Letters, Math Symbols, and Adjustable Font Size with Labels
- Even More with more(...)
- Basic Elements of the draw Program
- Programming Homework Exercises
The text file qdraw.mac is free software: you can redistribute it and/or modify
it under the terms of the GNU GENERAL PUBLIC LICENSE, Version 2, June 1991,
as published by the Free Software Foundation. For more information see
the license information at the top of the pdf file.