Plotting with the sagetex package in your LaTeX documents gives you the option of plotting with Python. The most popular plotting option in Python is matplotlib; wiki.scipy.org has more examples such as the globe (shown above). You can find the code for the globe and a more typical 3D plot on the Plotting with Sagetex page.
In an earlier post I put together some code to illustrate how sagetex could be used to create an implicit plot, provided the plot was connected. If the graph is disconnected, such as a hyperbola, then the code would only plot 1 of the pieces. I've modified the code to handle disconnected implicit plots, such as the screenshot above. The template is posted on the Plotting with Sagetex page.
I've added another problem to the Sagetex: Combinatorics/Probability page. It's the same problem as appears on the Problems page: How many numbers between 1 and N are divisible by primes $latex p_1,p_2,p_3$? The screen shot is shown. The problem has been done for two primes as well as three primes.
If you took the time to explore the website in point 3 of the last post, you might have come across the soul package. The soul package gives you even more ways to emphasize text. You can:
- increase the spacing between the letters
- small/large capitals
- highlight text
- strike through text
- underline text
The capabilities are illustrated in the screen shot above. I've added this information to the page on emphasizing text, along with a template/example to illustrate the basics.
1. I've added explanations on the probability of 4 of a kind and a full house. You can download the files from the Handouts page.
2. April is Math Awareness Month. Head on over to the Math Aware website and check out the Activity Calendar. With each day that passes a video and activity is revealed. As the website says, "Each page also includes activities for engaging with the underlying mathematical ideas at a variety of levels, with challenge questions, written explanations, and references.".
3. This website shows off the Aurial handwriting font. It looks great and, if you take the time to look around you'll notice some nice $latex \LaTeX$ templates here.
There's a new website, PGFPlots.net, that showcases the some elegant pgfplots examples. If you're a fan of TeXample.net (and who isn't?!?) then you'll
like love this site, too. Both sides are run by Stefan Kottwitz and PGFPlots.net already has a good selection of plots. The only drawback is that a bunch of the examples don't work when you open them online because you need something else (e.g. gnuplot/luatex to get them to work. The Mandelbrot Set example was something I wanted to see running but if you click on "Open in WriteLaTeX" it won't run because LuaTeX is needed. Too bad sage isn't used for computations via Sagemath Cloud.
I've added a link to PGFPlots.net on the sidebar. And while I was Tikz/pgfplots was on my mind, I added to the LaTeX page. There are now links to TikZ/pgfplots documentation, pgfplots manual, and a Minimal Introduction to TikZ. All three additions are long overdue as I migrated to Tikz/pgfplots some time back thanks to Stefan Kottwitz, Alain Matthes (Altermundus website), and the ability to combine sage with tikz and pgfplots.