Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login
Site Notices
1/25/2018 7:38:29 AM
Posted: 3/27/2002 11:15:30 AM EST
I am on a Sun ultra 5 machine doing some work in matlab. I don't have access to a printer but I do have internet. Is there some built in ability that would allow me to screen capture the window (or the whole desktop if that's the only way to do it) in a form that windows can read...like .jpg...just so I can e-mail it to my home computer? I need to print out some graphs from matlab and this is the only way I can think of doing it since I don't have matlab at home. I'll be here on and off for 6 or 7 hours. Thanks a lot
Link Posted: 3/27/2002 12:02:01 PM EST
btt ICan'tGoHomeUntilIFigureThisOutHelpMePlease
Link Posted: 3/27/2002 12:22:01 PM EST
You might be able to use SnapShot, but can only save in TIFF format. You should be able to convert from TIFF to JPG in Windows. The image will probably not be very crisp.
Link Posted: 3/27/2002 12:26:26 PM EST
[Last Edit: 3/27/2002 12:27:13 PM EST by Kar98]
There isn't a button marked [PrintScreen] or something like it on the keyboard by any chance? I know yours is Unix, and my machine is XP, but ever since Win 3.0, you could hit that button, open your graphic editor and paste the content of the clipboard (the screenshot) into it and save in some supported format. I would suppose there's some similar procedure in Unix. Edited to add: Do not place the monitor picture side down on a scanner :P
Link Posted: 3/27/2002 12:33:11 PM EST
If you want to save a figure as a *.jpg, look under File on the displayed figure. Select Export, then look under Save as Type for the export type you want. Jpg is supported.
Link Posted: 3/27/2002 12:56:10 PM EST
I'll assume you are using X11 ("XWindows") or whatever Sun's variant is called this week. There is an X utility to capture any window on the screen. Just run it, click the mouse on the window you want to save, and it'll dump the image to stdout. (I suggest you redirect the output to a file. [:D]) Then use the PBM toolkit to convert to JPEG or whatever. This webpage should give you a start: [url]http://www.ee.byu.edu/support/khoros2.2/envision/manual/Envision/E.16.getimage/HTML/Use.html[/url] I don't know if its directions give the right name for Sun's variation of X11 or not. [rant] This is why Microsoft is winning -- Sun, HP, and all the others insisted on making their own stupid changes to everything in the OS, GUI, utilities, and anything else you can name, just so they could market it as their own proprietary stuff. [:(] [/rant]
Link Posted: 3/27/2002 1:07:09 PM EST
zonan, the standard way is to use xwd. That stands for X Windows Dump. Are you sure you want a JPEG file? That isn't a good format for graphs, because it will make the lines fuzzy. xgrabsc or xwpick are two other common choises. Sun's come with a program called screendump, but it outputs a Sun Raster file. You'll have to convert it. I have always used xv, and if you have that, it's the easiest way to output a JPEG from a screenshot (not that you want to use a JPEG, but you mentioned it).z
Link Posted: 3/27/2002 1:38:01 PM EST
[Last Edit: 3/27/2002 1:45:53 PM EST by zonan]
Thanks guys! I didn't find a drop down box (like windows has) within matlab but I manually typed in .jpg rather than the default .fig and it was smart enough to convert it for me. I was not expecting that. You are right zoom, it is a bit blurry but I have to use a file type that is readable in a windows environment. And thanks for the info about exporting Rockdoc. Shows how much of a newb I am at this [newbie] Sorry I'm not used to these unix systems yet. Thanks again
Top Top