[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-02 Thread Vinod
On Jun 1, 7:19 pm, Jason Grout jason-s...@creativetrax.com wrote: On 6/1/10 8:57 PM, Vinod wrote: Yes, matlab does save the images properly to the directory. But the problem here is to get the image displayed on the web browser itself. Are you saying that in the Sage notebook: 1. You

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-02 Thread Jason Grout
On 6/2/10 12:13 PM, Vinod wrote: On Jun 1, 7:19 pm, Jason Groutjason-s...@creativetrax.com wrote: On 6/1/10 8:57 PM, Vinod wrote: Yes, matlab does save the images properly to the directory. But the problem here is to get the image displayed on the web browser itself. Are you saying that

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Vinod
hello Jason, This doesn't work either... :( matlab doesn't even start with xvfb-run command. it gives lot of errors. ~Vinod On May 28, 6:24 pm, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 8:08 PM, William Stein wrote: On Fri, May 28, 2010 at 5:52 PM, Jason Grout

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Jason Grout
On 6/1/10 5:53 PM, Vinod wrote: hello Jason, This doesn't work either... :( matlab doesn't even start with xvfb-run command. it gives lot of errors. As William pointed out, is the original problem resolved by one of the other messages? If not, can you precisely state the problem as it now

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Vinod
Yes, matlab does save the images properly to the directory. But the problem here is to get the image displayed on the web browser itself. Thanks, Vinod On Jun 1, 4:17 pm, Jason Grout jason-s...@creativetrax.com wrote: On 6/1/10 5:53 PM, Vinod wrote: hello Jason, This doesn't work

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Jason Grout
On 6/1/10 8:57 PM, Vinod wrote: Yes, matlab does save the images properly to the directory. But the problem here is to get the image displayed on the web browser itself. Are you saying that in the Sage notebook: 1. You can use the above code to create a matlab plot and save it to a specific

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Vinod
On May 27, 6:40 pm, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the help. When would the sage4.4.3 release? Should I wait till then or is it possible for you guys to post the patch here in the forum?

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread William Stein
On Thu, May 27, 2010 at 11:53 PM, Vinod vinodprab...@gmail.com wrote: On May 27, 6:40 pm, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the help. When would the sage4.4.3 release? Should I wait till

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Vinod
On May 28, 12:08 am, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 11:53 PM, Vinod vinodprab...@gmail.com wrote: On May 27, 6:40 pm, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Jason Grout
On 5/28/10 1:53 AM, Vinod wrote: Now I have a different error message in the terminal when I try to execute the matlab code involving plots in the webserver X11 connection rejected because of wrong authentication. I verified all the X11 settings and it looks fine. The link lists all the

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Vinod
On May 28, 12:38 pm, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 1:53 AM, Vinod wrote: Now I have a different error message in the terminal when I try to execute the matlab code involving plots in the webserver X11 connection rejected because of wrong authentication.

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Jason Grout
On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong authentication. Warning: Unable to open display 'localhost:12.0'. You will not be able to display graphics on the screen. So now it's not a Sage question, but a question of how to run Matlab over an ssh session.

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 5:52 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong authentication. Warning: Unable to open display 'localhost:12.0'.  You will not be able to display graphics on the screen. So now it's

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Jason Grout
On 5/28/10 8:08 PM, William Stein wrote: On Fri, May 28, 2010 at 5:52 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong authentication. Warning: Unable to open display 'localhost:12.0'. You will not be able to

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 6:24 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 8:08 PM, William Stein wrote: On Fri, May 28, 2010 at 5:52 PM, Jason Grout jason-s...@creativetrax.com  wrote: On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread Harald Schilly
On May 26, 11:40 pm, Vinod vinodprab...@gmail.com wrote: Is there anything else that needs to be done? It's not working for me either. What I did in a cell is this: import os filename = os.path.join(SAGE_TMP,'matlabfig1.png') matlab(h = figure('Visible', 'off')) matlab(plot(1:4,5:8))

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread Vinod
On May 27, 9:21 am, William Stein wst...@gmail.com wrote: On Thursday, May 27, 2010, Harald Schilly harald.schi...@gmail.com wrote: On May 26, 11:40 pm, Vinod vinodprab...@gmail.com wrote: Is there anything else that needs to be done? It's not working for me either. What I did in a cell

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread Mike Hansen
On Thu, May 27, 2010 at 12:20 PM, Vinod vinodprab...@gmail.com wrote: The simple matlab code I wrote is functional and the sage server evaluates it properly and generates the .png file in the directory. Only issue that need to be addressed is to get the sage server display the plots in the web

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread William Stein
On Thu, May 27, 2010 at 12:23 PM, Mike Hansen mhan...@gmail.com wrote: On Thu, May 27, 2010 at 12:20 PM, Vinod vinodprab...@gmail.com wrote: The simple matlab code I wrote is functional and the sage server evaluates it properly and generates the .png file in the directory. Only issue that need

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread Vinod
Yes William, Your code works for me as well. I get a neat plot displayed as yours. Here the software chosen is sage. My question is: Is it not possible to write a simple matlab code as I wrote before and select the option Matlab instead of sage in the list of softwares available and have it

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread William Stein
On Thu, May 27, 2010 at 5:32 PM, Vinod vinodprab...@gmail.com wrote: Yes William, Your code works for me as well. I get a neat plot displayed as yours. Here the software chosen is sage. My question is: Is it not possible to write a simple matlab code as I wrote before and select the option

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread Mike Hansen
On Thu, May 27, 2010 at 5:42 PM, William Stein wst...@gmail.com wrote: Mike Hansen just told me that he will create such a patch tonight. http://trac.sagemath.org/sage_trac/ticket/9072 The patch is up, but it needs testing. --Mike -- To post to this group, send email to

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread William Stein
Positive review -- this will be in sage-4.4.3. On Thu, May 27, 2010 at 5:54 PM, Mike Hansen mhan...@gmail.com wrote: On Thu, May 27, 2010 at 5:42 PM, William Stein wst...@gmail.com wrote: Mike Hansen just told me that he will create such a patch tonight.

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread Vinod
That's Awesome! Thanks for the help. When would the sage4.4.3 release? Should I wait till then or is it possible for you guys to post the patch here in the forum? Vinod On May 27, 6:00 pm, William Stein wst...@gmail.com wrote: Positive review -- this will be in sage-4.4.3. On Thu, May 27,

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-27 Thread William Stein
On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the help. When would the sage4.4.3 release? Should I wait till then or is it possible for you guys to post the patch here in the forum? Vinod Just type sage:

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-26 Thread Jason Grout
On 5/25/10 9:32 PM, Vinod 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.

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-26 Thread Vinod
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

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-26 Thread Vinod
Hello Jason, Thanks for the reply. Can you please let me know what current directory you exactly referred to? is it the sage path or matlab working directory? Thanks, Vinod On May 26, 7:38 am, Jason Grout jason-s...@creativetrax.com wrote: On 5/25/10 9:32 PM, Vinod wrote: I tried

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-26 Thread Jason Grout
On 5/26/10 4:53 PM, Vinod wrote: Hello Jason, Thanks for the reply. Can you please let me know what current directory you exactly referred to? is it the sage path or matlab working directory? the current directory that the code is executing in (which happens to be a temporary directory