I think spm turns this feature off because of other graphics issues in
earlier versions of matlab. You can try typing feature('JavaFigures',1)
after starting spm, or you can comment out lines 304-306 in spm.m
I'm not sure if there is some other solution.
darren
---------
> -----Original Message-----
> From: SPM (Statistical Parametric Mapping)
> [mailto:[log in to unmask]] On Behalf Of Naomi Driesen
> Sent: Wednesday, February 20, 2008 8:59 AM
> To: [log in to unmask]
> Subject: [SPM] problem printing in spm5
>
> Dear all,
>
> Can anyone figure out why I can't print out a figure in SPM5
> from the figure window. Here's the basic facts:
>
> 1. I use a linux box and redhat linux. I'm using matlab 7.3.0.
> 2. I can print out a SPM5 figure if I print from the command line.
> 3. I can make a matlab figure with a graphics box in matlab
> and print it out from the box.
> 4. I've tried re-installing SPM5 and have updated with all
> the patches on the website.
>
> Here's the error message I keep on getting:
>
> Running "Display Image"
> ??? Error using ==> graphics/private/prepare Error using ==>
> graphics/private/prepare Error using ==>
> graphics/private/prepareui Printing of uicontrols is not
> supported on this platform.
> Please ensure that feature('javafigures') is set to 1.
>
> Error in ==> printdlg>LocalInitFig at 469
> if LocalJavaPrintDlg( Data, Dlgname )
>
> Error in ==> printdlg at 100
> Dlg=LocalInitFig(Data);
>
> ??? Error using ==> printdlg(gcbf)
> Error using ==> graphics/private/prepare Error using ==>
> graphics/private/prepare Error using ==>
> graphics/private/prepareui Printing of uicontrols is not
> supported on this platform.
> Please ensure that feature('javafigures') is set to 1.
>
> ??? Error while evaluating uimenu Callback Does anyone know
> how to fix this problem.
>
> Thanks.
>
>
>
> Naomi Driesen, Ph.D.
> Associate Research Scientist
> Dept. of Psychiatry
> Yale University School of Medicine
>
> Ribicoff Research Facilities, CMHC
> 34 Park Street
> New Haven, CT 06519
> (203)974-7259
> ---
> The information contained in this message may be privileged
> and confidential. If you are NOT the intended recipient,
> please notify the sender immediately with a copy to
> [log in to unmask] and destroy this message. Please be
> aware that email communication can be intercepted in
> transmission or misdirected. Your use of email to communicate
> protected health information to us indicates that you
> acknowledge and accept the possible risks associated with
> such communication. Please consider communicating any
> sensitive information by telephone, fax or mail. If you do
> not wish to have your information sent by email, please
> contact the sender immediately.
>
>
>
|