Are there good programs to create mathematical pictures in svg format? I've recently started my personal wiki to organize my notes and thoughts. I use the wiki program instiki which I believe is the same as the n-lab uses. Instiki can upload svg's. I want to be able to create nice looking pictures of some (not to complicated) geometric objects, e.g. knots, pair of pants, etc. My question is twofold.


*

*Do people draw these things using svg format? For example people who do diagram algebra, do you use svg format?

*If so, what are some good free/open source programs for creating these pictures?
 A: GeoGebra has .SVG export, and is fantastically useful for certain types of diagrams - not so much knots and pairs of pants, but more like graphs of functions, geometric shapes etc. Granted, its real strength is in interactive demos (like this one), but sometimes it's useful just to generate static images. 
A: I am a huge fan of the open source program Inkscape.  I mostly use it to produce pictures for my papers in the eps format, but its native format is svg.
A: i wrote small script to paint math functions in SVG, please feel free to use it
http://webdev.ts9.ru/#/step-4
A: Its been a couple of years since I used SVG.  At the time I looked at sample SVG files to see how to code basic stuff, and hand coded with some parts generated by small ad hoc programs. The images were geometric diagrams. My concern at the time was that many people use Internet Explorer as a browser, and it does NOT support SVG.  The plugin, by Adobe, that allows IE to read SVG is probably not installed on many computers.  And Adobe has now dropped all support of that plugin. To me, this meant, that to make the stuff generally viewable I needed to convert the SVG to fixed size bitmap, e.g. png files.  That seemed to defeat the whole purpose of SVG, which for me was to allow users to zoom in on fine details of a figure without loosing resolution.  [Sorry that doesn't really answer your question, but it seemed important to mention my concerns with SVG.  If the situation is now different, I would be interested to know that.]
A: I use SVG frequently for mathematical diagrams in Wikipedia (gallery) — for the illustrations my own papers I usually use pdf. In both cases I generally use Adobe Illustrator. It's not cheap and it's not easy to learn, but it's quite powerful.
A: I use lineform to draw all of my figures.  It's like an intuitive scaled down version of Illustrator that doesn't cost a fortune (though it does cost $80).  You can export to svg, png, pdf, ps, et cetera.
A: Sage, which is free and open source, is able to output svg files, but the result is sometimes not really nice.
I do not know whether Maple or Mathematica (which are not free) can do this.
I am also using the basic editor xfig to create simple svg files, but inkscape is more powerful.
