AnsweredAssumed Answered

vrf FW: Matlab Script print command

Question asked by VRFuser on Mar 2, 2004
Karen,
I have tried using the saveas command as well and it gives me the same error.

Regards,
Phill Griffin
TCC Southwood
Ext. 7486
Mobile: 07766 513344


-----Original Message-----
From: ext KB Werner [mailto:kbwerner@fcrao1.astro.umass.edu]
Sent: Tuesday, March 02, 2004 3:43 PM
To: VRF
Subject: [vrf] FW: Matlab Script print command



Phill,
I use the following code in VEE 6.01 to set the graph to landscape
orientation, save the Matlab graph as a .jpg file then automatically print
it as well:

set(gcf,'PaperPositionMode','auto');
set(gcf,'PaperOrientation','landscape');
saveas(gcf,file,'jpg');
print

The "file" variable in the saveas command is a file name that is entered at
an earlier prompt and input as a text string on an input pin to this formula
object.

Karen
~~~~~
Karen Bourque Werner
Five College Radio Astronomy Observatory
Department of Astronomy
University of Massachusetts
Amherst, MA  01003
Email:  kbwerner@astro.umass.edu
Phone:  413.545.9603
WWW:    www.astro.umass.edu/~kbwerner


-----Original Message-----
From: phillip.griffin@nokia.com [mailto:phillip.griffin@nokia.com]
Sent: Tuesday, March 02, 2004 4:33 AM
To: VRF
Subject: [vrf] Matlab Script print command


I am trying to export a matlab graph that I have created, to a jpeg file.
However I get an error when I use the command. (Please see VEE Caution in
the attachment screen dump)
<<Screen Dump.bmp>>
Has anybody else tried to do this or is it a bug/Feature of VEE.

ps I am using VEE 6.1

Thanks in advance


Regards,
Phill Griffin
TCC Southwood
Ext. 7486
Mobile: 07766 513344



---
You are currently subscribed to vrf as: phillip.griffin@nokia.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes