Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Mathlink & Graphics....

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2174] Mathlink & Graphics....
  • From: gandalf at dogbert.ugcs.caltech.edu ( The GodFather)
  • Date: Thu, 12 Oct 1995 01:58:13 -0400
  • Organization: California Institute of Technology, Pasadena

	Unix Platform....

	I've been trying to do this for a bit of time....

	Basically, I would like from a C-code, to generate
	a list of numbers {{1,2},{2,1}} and plot their positions
	using mathematica's handy plotting routines....

	If someone could post a way to simply execute a 
	Plot[x^2,{x,-2,2}], and either have mathematica display
	it (in X), or return PostScript to the link stream or
	to an output file I would be extremely grateful....

	An example of the type of thing I'm trying to do....

	from within C-code:

	MLPutFunction(link,"Extend",1); 
	PutString(link,"Plot[x^2,{x,-2,2});
	
	If there was some way of setting the DisplayFunction
	so mathematica would then just plot this thing out 'twould
	be beautiful.  If there was some way I could get it to
	output the plot to a postscript file, I would be joyous.
	If there was any way I could get useable output, basically
	I would be dancing around for weeks....

	with much appreciation,

	-John Joseph


  • Prev by Date: Solid Geometry Problem
  • Next by Date: Infomationarchive for scientific software
  • Previous by thread: Mathlink & Graphics....
  • Next by thread: RE: Mathlink & Graphics....