From: Jerry <lan...@qw...> - 2012-08-23 09:22:16
|
On Aug 23, 2012, at 12:08 AM, Arjen Markus wrote: > Hi Jerry, > > On 2012-08-23 08:46, Alan W. Irwin wrote: > >> Hi Jerry: >> Do you have success with any other X application? The reason I ask is >> the above error message may simply mean that X is badly installed on >> your platform. Of course, if X were badly installed on Linux it would >> be catastrophic since X is so important on that platform, but my >> understanding is that X is not very important on Mac OS X. Therefore, >> on that platform you might have a bad X installation and not know >> about it (except by running some classical X applications such as >> xterm, xeyes, oclock, etc.) > > In addition to Alan's suggestions, you could try the following: > > 1. Start Tcl/Tk's wish > 2. Type the command: > pack [button .b -command {puts Hello} -text Hi] > > This should bring up a simple pushbutton with the label Hi and > when you press it, the text Hello is printed in the console window. > (Type "exit" to stop wish) > > If the traditional X programs and this wish example work, then > we can conclude that something is wrong with the way you start > the PLplot examples, though I can not see what is wrong. Unfortunately > I have no OS X machine at my disposal, so I can only make guesses > as to what is going on/wrong. > > Regards, > > Arjen Hi Arjen, This works exactly as you describe except it runs as a native Aqua application, not as an X application. See my more extensive comments to Alan. Jerry |