Ask Your Question

myildi's profile - activity

2017-03-15 20:47:22 +0200 received badge  Famous Question (source)
2014-06-29 17:07:48 +0200 received badge  Famous Question (source)
2014-01-29 04:55:36 +0200 received badge  Notable Question (source)
2013-12-19 18:59:19 +0200 received badge  Notable Question (source)
2013-10-26 21:32:22 +0200 received badge  Nice Question (source)
2013-02-04 13:41:10 +0200 received badge  Popular Question (source)
2012-12-06 15:14:53 +0200 received badge  Taxonomist
2012-09-06 17:40:52 +0200 received badge  Popular Question (source)
2012-05-25 21:12:18 +0200 received badge  Famous Question (source)
2012-03-27 23:06:03 +0200 received badge  Good Question (source)
2012-03-25 18:15:29 +0200 received badge  Nice Question (source)
2011-09-22 15:22:21 +0200 received badge  Notable Question (source)
2011-05-13 02:16:01 +0200 received badge  Popular Question (source)
2011-01-28 17:18:09 +0200 commented question Keeping a stable connection between the notebook interface and the server

I have forgotten to tell that I can execute other Java applets in Chrome, but my 3D plots in Sage do not show. Also the top button bar in the notebook is replaced by black buttons.

2011-01-28 17:15:28 +0200 commented question Keeping a stable connection between the notebook interface and the server

Hi Niles, I do get the same problem with Safari. I do not get it with Chrome but Chrome does not recognize java parts of the output even if the java plugin seems to be installed and activated... (here is what I see for Java in Chrome, in the plugins tab: Java - Version : 13.3.0 Java Plug-In 2 for NPAPI Browsers Désactiver

2011-01-28 16:57:03 +0200 commented answer Multiple 3D plots in one panel -> graphics_array and 3D?

And thanks a lot Niles for the link! @interact is a very nice tool, also for teaching. I will explore it.

2011-01-27 13:10:19 +0200 commented answer Multiple 3D plots in one panel -> graphics_array and 3D?

Thanks to DSM ans NIles for these suggestions. I am quite new to Sage an Python (I am a Maple/Java guy). I will explore matplotlib, since it looks very promising.

2011-01-27 13:07:36 +0200 answered a question Plotting successive 3D plots in a for loop (only the last one can be plotted!)

Thank you very much again Niles!

I can plot from the terminal in this case. It is better than nothing ;-)

Best regards,

Murat

2011-01-26 17:33:10 +0200 commented answer Plotting successive 3D plots in a for loop (only the last one can be plotted!)

Thank you very much Niles, it works indeed. Unfortunately one looses the interesting tools that come with the jMol viewer (like rotating the graphs to better grasp their shape). Everything is a trade-off in this world ;-) Best regards.

2011-01-26 17:29:31 +0200 commented answer Multiple 3D plots in one panel -> graphics_array and 3D?

Thanks a lot for this very elaborate solution, and the time you have dedicated to propose it! It effectively seems to solve my problem. I will delve into matplotlib docs to understand your tricks, they are very impressing.

2011-01-26 12:25:30 +0200 asked a question Keeping a stable connection between the notebook interface and the server

Hello,

I have some difficulty to keep active the connection between the notebook interface in Firefox (the last stable version) and the Sage server. I execute Sage in the terminal, then start the notebook interface through notebook(). And quite quickly (as soon as I open an existing notebook) I loose the connection and get the following errors (see the last line - I have posted only one of them but this problem generates hundreds of them after the first one):

    sage: notebook()
The notebook files are stored in: sage_notebook.sagenb
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
2011-01-26 17:53:29+0100 [-] Log opened.
2011-01-26 17:53:29+0100 [-] twistd 9.0.0 (/Applications/_Recherche/sage/local/bin/python 2.6.4) starting up.
2011-01-26 17:53:29+0100 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2011-01-26 17:53:29+0100 [-] twisted.web2.channel.http.HTTPFactory starting on 8000
2011-01-26 17:53:29+0100 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x10a118908>
2011-01-26 17:53:41+0100 [HTTPChannel,4,127.0.0.1] Request error: Connection to the other side was lost in a non-clean fashion.
2011-01-26 12:11:14 +0200 asked a question Plotting successive 3D plots in a for loop (only the last one can be plotted!)

Hi, I have another problem with plotting multiple 3D plots. When I execute the following two cells in the notebook interface:

Cell 1: (Definition of function that generates parametrized plots)

def plotPerceFL1 (aalpha):
   p1_11 = plot3d(Fp1_11(alpha=aalpha),(x,0,1),(y,0,1),color="red")
   p1_12 = plot3d(Fp1_12(alpha=aalpha),(x,0,1),(y,0,1),color="gray")
   return p1_11+p1_12

Cel 2: (Plotting successive plots for different values of aalpha)

for a in srange(-1,1,step=0.25):
   grr=plotPerceFL1(a)
   grr.show()

I can see the loop running (if I print a, for example) but nothing is plotted until the end of the loop, then only the last graphic is shown.

Is there any trick to force Sage to successively plotting all graphics (and, preferably, to keep them in the screen one below the other)?

Thanks in advance for your help. Murat

2011-01-26 11:46:14 +0200 answered a question Multiple 3D plots in one panel -> graphics_array and 3D?

Hi Niles, Nice trick but it does not seem very practical to me in the general case where I would like to plots many 3D plots by varying some configuration parameters (to check their consequences on the plots). In my actual case, I am trying to analyze the effect of some parameters on 3D plots that are already composed by 4 3D plots (I sum them, like in your example). Also, I would not necessarily have the same axes between cases). I need a trick for really generating an array in order to compare many graphics on the screen. With you trick, I can only arrange them if they are not very complicate (in which case, it is indeed quite easy to decode the translated values on the axes). Thank you for your help, I will try if I can get somewhere using it, but I keep hoping that a solution similar to graphics_array exists also for 3D :-)

2011-01-26 11:39:59 +0200 received badge  Supporter (source)
2011-01-26 08:03:52 +0200 received badge  Student (source)
2011-01-26 04:26:42 +0200 received badge  Editor (source)
2011-01-25 16:58:40 +0200 asked a question Multiple 3D plots in one panel -> graphics_array and 3D?

Hello, I am new to Sage and trying to learn as quickly as I can (I am a former Maple user). I have been searching the reference docs, google group and the Net to find a way for putting multiple 3D plots in one panel, in a similar way as with graphics_array for 2D plots. Actually, I have not initially seen that graphics_array was only for 2D plots, and spent some time trying to make it work with my plots. When trying this, I was getting "raise TypeError, "every element of array must be a Graphics object" since the elements of my array are of type <class 'sage.plot.plot3d.base.graphics3dgroup'="">. So, may question is the following: is there any trick that would allow me a to build a panel of 3D plots in a similar way as with graphics_array? I would be very grateful if you could give me some hints on this problem.

Regards,

Murat