Re: plotting to xterm's tetronix window? [message #13373] |
Fri, 06 November 1998 00:00 |
hcp
Messages: 41 Registered: August 1995
|
Member |
|
|
In article <71t1tc$929$1@nnrp1.dejanews.com>, ellman-nancy@cs.yale.edu writes:
|> I just started using IDL and was hoping to be able to run it from home over
|> the dialup. It would be much faster if I could use the Tektronics emulation
|> mode built into xterm since it that involves less data transfer than putting
|> up a plotting window over the slip connection. However, when I try "set_plot
|> 'tek'" I just get gibberish printed to the xterm on my home machine which
|> suggests that the IDL's and X's tektronics types aren't really compatible,
|> although this has worked with other plotting packages.
|>
|> Has anyone tried this with IDL and gotten it to work? Am I doomed to doing all
|> my work at the office or dealing with painfully slow plots?
I have got this to work without doing anything special.
It was quite useful for logging on to a machine in California
from here in Scotland on a bad internet day, esprcially with UNIX here
and VMS there. You do have to be typing
in the TEK window which has rather odd line-editing compared to the normal VT
window.
Quick reality check: You did switch the xterm into tektronics mode, didn't you?
(If not, do ctrl-middlemousebutton and select "switch to tek window"
from the popup menu which appears. ) If you forget this, you will get a
lot of gibberish on your xterm's default VT window.
On the other hand, you say this has worked for other plotting programs,
so you must have done this.
You can always try
IDL> set_plot,'tek'
IDL> device, file='gak.tek'
IDL> plot,[0,1],[0,1]
IDL> device,/close
to dump the TEK plotting commands to a file.
You can then switch to the TEK part of an xterm and do
unix.prompt> cat gak.tek
If your plot appears, then IDL is generating OK tek commands for your xterm,
it just isn't sending them to the right place.
All the best
Hugh
--
============================================================ ==============
Hugh C. Pumphrey | Telephone 0131-650-6026
Department of Meteorology | FAX Hmm. Must fix sig file
The University of Edinburgh | Replace 0131 with +44-131 if outside U.K.
EDINBURGH EH9 3JZ, Scotland | Email hcp@met.ed.ac.uk
OBDisclaimer: The views expressed herein are mine, not those of UofE.
============================================================ ==============
|
|
|