On 2010-08-03 06:50-0700 Faizullabhoy, Alefiya wrote:

> 
> I’m new to plplot and I installed plplot with all the given examples on
> Fedora.   I need an example where I can create a graph from within a TCL/TK
> program.  I looked at the examples but they all seem to require a C program
> to run them ie xtk02 –f tk02.in.  How do I create a graph directly from a
> TCL/TK program without using a C program such as xtk02?

Hi Alefiya:

Thanks for your interest in PLplot.

To answer your specific question, in the svn version (and possibly
5.9.6 as well although there are some issues that have been fixed
since 5.9.6) look at examples/tk/standard_examples.in in the source
tree that is the template for the configured shell script located at
examples/tk/standard_examples in the build tree.  That configured
shell script implements what is suggested for the plserver way of
doing things in examples/tk/README.tkdemos.  That latter file also
suggests some additional possibilities for running our standard Tcl
examples (as well a C-compiled examples) from a Tk environment.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to