William,

Thanks for the note.  I tried using the savefig command and it does
create a .png file in the directory
 but doesn't get the image displayed on the sage notebook webserver.

below is the simple matlab code that I used:

Delay = [95e-3 119e-3 142e-3 190e-3 238e-3 285e-3 333e-3 380e-3 428e-3
476e-3]
Vctrl = [0.781 1.025 1.19 1.37 1.469 1.533 1.578 1.61 1.636 1.656]
plot(Vctrl,Delay)
savefig('nicefig1', 'png', '-rgb', '-c0.1', '-r250')

Is there anything else that needs to be done?

Thanks,
Vinod

On May 26, 1:03 am, William Stein <wst...@gmail.com> wrote:
> On Tue, May 25, 2010 at 7:32 PM, Vinod <vinodprab...@gmail.com> wrote:
> > I tried installing a sage server and did succeed with it partially.
>
> > Now the server is up and my aim is get the sage, matlab, mathematica,
> > and maple softwares function properly displaying  plots.
> > but as of now, I could only get sage working with plot options.
>
> One important point is that in the Sage notebook, if you run a command
> and it creates a .png image as output, then that image will appear.
> This might be helpful for some of these other systems.
>
> E.g., matlab has a savefig command:
>
> http://www.mathworks.com/matlabcentral/fileexchange/10889-savefig
>
>
>
> > Can anyone please give some information on how to get the matlab and
> > other softwares display plots using sage notebook webserver?
>
> > Any help would be appreciated...
>
> > Thanks,
> > Vinod
>
> > --
> > To post to this group, send email to sage-support@googlegroups.com
> > To unsubscribe from this group, send email to 
> > sage-support+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/sage-support
> > URL:http://www.sagemath.org
>
> --
> William Stein
> Professor of Mathematics
> University of Washingtonhttp://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to