Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Simple 2D graphics on OSX

Name: Anonymous 2005-04-29 11:16

What's a simple way to do simple 2D graphics on OSX?

Simple, as in "10 HGR2: HPLOT ...", not 'simple' as in 600-line framework wrappers &| D0InG 1T tH3 CyB3RsPaC3 W@Y dRaGgInG 3D gUi W1Dg3tS aR0U|\|D iN @N INt3rFaC3 BuIlD3R.

Suggestions using the supplied interpreted languages are fine (Perl, Python, etc.)

Name: Anonymous 2005-04-30 8:56

>>1
I don't really know but the difficult approach would be to subclass some view in Objective-C and write your own parser with something like Lex/Yacc... I wouldn't do this unless I had to integrate it in a real program.

You can install gnuplot instead (very easy to use) and learn how to use it to generate pictures from your functions. This or the Perl/Python approach is of course independant on the system you are using, but I guess the Perl/Python way would require the use of a wrapper, it would not be immediate if you are using raw data or mathematical functions. I'd rather go with gnuplot (or Mathlab or Maple if you have these at home).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List