View Full Version : How to draw geometric shapes?
Zdravko
May 19th, 2007, 01:26 AM
Hi there!
I search for an application for plotting geometric shapes. Example: I want to draw a circle with center 0,0, radius = 20cm etc. The graph must be exportable into png, jpg, ps, pdf etc.
Thanks!
steven8
May 19th, 2007, 01:42 AM
Hi there!
I search for an application for plotting geometric shapes. Example: I want to draw a circle with center 0,0, radius = 20cm etc. The graph must be exportable into png, jpg, ps, pdf etc.
Thanks!
I only see BMP, JPG and PNG, but this program is sweet:
QCAD (http://www.qcad.org/qcad_features.html)
Lux Perpetua
May 19th, 2007, 01:49 AM
The first thing that comes to mind is PostScript. %!
306 306 100 0 360 arc fill
showpageName it, say, test.ps. You can view it on screen or convert it to jpg, png, etc. using ghostscript:gs -sDEVICE=x11alpha -dBATCH test.ps # to display the circle Raw PostScript is quite bare, though. If you want axes or labels or anything in your picture, you'll have to draw and typeset them from scratch. In that case, I'd recommend MetaPost over PostScript. There's also a Linux utility called xfig, but I haven't used it. MetaPost has always been sufficient for my mathematical illustrations.
Zdravko
May 19th, 2007, 01:51 AM
It is not free.
steven8
May 19th, 2007, 05:01 AM
It is not free.
QCAD is free. It's in the repos.
Zdravko
May 19th, 2007, 11:21 AM
I gave it a try, but... It is rather too complicated for me. Kig does the same and in a better way.
Lux Perpetua
May 19th, 2007, 09:17 PM
It is not free.What isn't? GhostScript? MetaPost? Xfig? They're all free.
Zdravko
May 20th, 2007, 08:23 AM
I was talking about QCAD. I didn't know the Unix version is free.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.