From: Rayal <ra...@fl...> - 2002-11-27 07:05:43
|
Hi Thank you for your response. I have installed Plplot5.1.0 along with ActiveState Tcl/Tk on NT sysytem. I believe the Plplot installation was successful because I could see Plplotter among the list of all packages that I got with "package names" command. I haven't compiled or built any source files. I tried to source a small script file(.tcl)with the following code which was given in Plplot reference document: //////////////////////////////////////////////////////// package require Plplotter set xmin 0; set xmax 1; set ymin 0; set ymax 1 set just 0; set axis 0 set xlab (x) set ylab (y) set title "The title of the graph" plinit plenv $xmin $xmax $ymin $ymax $just $axis pllab $xlab $ylab $title ///////////////////////////////////////////////////////// I got the error message saying.."invalid command name plinit" I tried removing the offending line and again I got the error .. " invalid command name plenv" Similarly I also tried many commands at the tcl prompt but all I get is the 'invalid command' error. However interesting point to note is that If I type "Plplotwin .p" at the Tcl prompt I get a blank Plplot Widget window with all the menu items 'File', 'Orient', 'Zoom', 'Page', 'Options'. So I have a feeling that the package was installed correctly, but I am unable to figure out how to make the code/commands work. Could you please throw some light on this. Rayal. _______________________________________________________________ Get Your FREE FlashMail Address now at http://www.flashmail.com It's Free, Easy, & Fun !!! |