Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uakari.primate.wisc.edu!pikes!boulder!ccncsu!ncuug!garyw From: garyw@ncuug.UUCP (Gary Whicker) Newsgroups: comp.sys.amiga Subject: Re: AmigaPlot by James White Summary: How do you do user sizable print outs? Message-ID: <44@ncuug.UUCP> Date: 4 Aug 90 15:09:34 GMT References: <41@ncuug.UUCP> <1031@cameron.egr.duke.edu> Reply-To: garyw@ncuug.UUCP (Gary Whicker) Distribution: usa Organization: Northern Colorado Unix Users Group Lines: 61 In article <1031@cameron.egr.duke.edu> amr@dukee.egr.duke.edu (Anthony M. Richardson) writes: >From article <41@ncuug.UUCP>, by garyw@ncuug.UUCP (Gary Whicker): >> In article <8702@ur-cc.UUCP> jea@cvs.rochester.edu (Joanne Albano) writes: >>>Does anyone else have a favorite plotting program for Data Sets? >> This has been a problem for awhile now. I finally ended up writing my own >> plotting program that uses the PLPLOT library. I am almost finished with a >> nice front end that will let you do data entry from formula or keyboard. >> It will also let you plot multiple curves on the same graph. I wrote it >> in a combination of C and CanDO. (CanDo can really save time for creating >I wrote a plotting program based on PLPLOT also. It's called ListPlot. >It doesn't use a scripting language, but uses command line options >instead. (I usually use a script to call ListPlot because of the >large number of options). Here's the output from "ListPlot help": > >I can preview on a window on the Amiga, get user sizable hardcopy on >any preferences supported graphics printer, and get postscript or > >(Sorry to be blowing my own horn here. I know there are several good >plotting programs out there now (and a few in the works), but >ListPlot is my personal favorite. Probably because I wrote it to >do what I want it to do :-)) > >Regards, >Tony Richardson Since you are the one who ported PLPLOT and enhanced it for the Amiga, you should be blowing your horn! You have done an excellent job.. Now for some questions, since I'm working on my front-end for it.: - How can you change the size of the printed graph from within the program using PLPLOT? Right now the only way I can figure is to size the window, do an IFF save, and load it into a paint program to print it out. Another kludge is to go into prefs and play with the pixel limits for the printer. Also, the print options that say (landscape) and (portrait) end up printing tiny. Can this be adjusted? Right now I am just using the bitmap dump. - When clearing a current plot to do a new one, I end up having to click the close gadget on the current plot window before the new one comes up. Is there a way to automate this? - In the PLPLOT introduction it mentions the ability to make bar, and pie graphs. I can see how to do a bar graph fairly easily, but I'm stumped on how to get pie graphs setup. Any suggestions? Thanks for any answers you might be able to give me. And thanks for a nice library that will finally let my Amiga do some serious plotting for me. [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] o"All dross of education and | Gary Whicker o o civilization slipped from | - ..!uunet!ccncsu!ncuug!garyw o o me, leaving only the +-------------------------------------o o primitive man, only the | AMIGA - The computer for the o o primordial soul, | ----- creative mind.. o o red-taloned, ferocious." +-------------------------------------o o - Robert E. Howard | Writing artistic computer code is o o | easy.. the machine tells no tales. o [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]