[5727] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.0F: matlab

daemon@ATHENA.MIT.EDU (milanfar@ATHENA.MIT.EDU)
Tue Aug 14 15:45:11 1990

From: milanfar@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Tue, 14 Aug 90 15:44:56 EDT

System name:		jack-dann
Type and version:	CVAXSTAR 7.0F
Display type:		SM

What were you trying to do?
Getting a graphic printout from matlab.

What's wrong:
There is really no bug, I just have a suggestion. The 'print' command in 
matlab pipes a postscripted graphic output to the laser printers, however,
the way its been written, with each graph it also prints a cover sheet. I
have seen a lot of paper go to waste this way and the whole concept of a cover
sheet for graphic outputs seems unnecessary. Besides, people who work with 
matlab often print out a lot of graphs. 


What should have happened:
The problem is easy to fix, one can just list the program print.m in matlab,
then grab the text of the code with the cursor and copy it to an emacs file. 
There, whenever the command "lpr" appears, the '-h' toggle should be added.
After this is done, just rename the file to something like 'xprint.m' and
copy it to your local directory and use 'xprint' instead of 'print' from 
this point on. Maybe you guys can write a quick patch and have that be the 
default?


Please describe any relevant documentation references:


home help back first fref pref prev next nref lref last post