2017-02-09 18:08:25 +0200 | received badge | ● Famous Question (source) |

2016-09-08 20:08:34 +0200 | received badge | ● Taxonomist |

2015-06-04 17:38:21 +0200 | received badge | ● Notable Question (source) |

2015-06-04 17:38:21 +0200 | received badge | ● Popular Question (source) |

2014-05-23 16:52:22 +0200 | received badge | ● Famous Question (source) |

2013-05-13 09:19:45 +0200 | received badge | ● Famous Question (source) |

2012-12-03 13:19:51 +0200 | received badge | ● Notable Question (source) |

2012-08-16 07:38:08 +0200 | received badge | ● Notable Question (source) |

2012-04-18 21:32:41 +0200 | received badge | ● Popular Question (source) |

2012-04-10 17:35:00 +0200 | received badge | ● Popular Question (source) |

2011-12-22 12:39:31 +0200 | received badge | ● Nice Question (source) |

2011-12-16 03:16:55 +0200 | asked a question | "Evaluate All" keyboard shortcut Is there any keyboard shortcut for the notebook command "Evaluate All"? Or in alternative could it be assigned somehow? Thanks a lot! |

2011-11-09 06:28:39 +0200 | received badge | ● Citizen Patrol (source) |

2011-11-09 06:00:08 +0200 | received badge | ● Nice Question (source) |

2011-11-09 05:40:36 +0200 | answered a question | Plotting spherical data I don't think that you can interactively rotate with mplot3d. I'm not an expert anyway. I would say that mayavi2 experimental package fits your bill anyway. I use mayavi2 (outside of Sage) to produce antenna patterns of high quality and works beautifully. I guess you should proceed as follows: 1) Install mayavi2 package following the instruction at this page http://www.sagemath.org/doc/numerical... 2) You invoke mayavi2 with something like this (http://www.sagemath.org/doc/numerical...) 3) The command you want is mesh(). Read the documentation and the examples here and here hope it helps. Giovanni |

2011-11-08 23:10:01 +0200 | received badge | ● Teacher (source) |

2011-11-08 11:14:46 +0200 | marked best answer | 2D interpolating function from numpy arrays to spherical-plot3d It's because your f function above is returning a numpy array, rather than a number. So you need to extract that number out. You did it in your last example above. Here's another way: Here is yet another way, since numpy arrays with a single value like that can be cast to floats. |

2011-11-08 11:13:42 +0200 | answered a question | Plotting spherical data I do not think that you can get all of that directly with sage. A viable option would be to call mplot3d (plot_surface) from matplotlib, which is easily done in Sage. This way you can get point 1,2,4 even if the axis are displayed in a different way, and I think also point 3, but i am not sure about that. All the references are here. If you need some kind of interpolation, I suggest you employ scipy.interpolate module. You can get many different types of N dimensional interpolation. |

2011-11-04 09:54:11 +0200 | commented answer | sage notebook server + ssh tunneling + port forwarding It worked! Thanks a lot!!! This way I can work on my University Cluster! |

2011-11-04 09:53:32 +0200 | marked best answer | sage notebook server + ssh tunneling + port forwarding Connect via ssh to your server and bind port, e.g. `ssh -L 8000:localhost:8000 user@your.server.com` You can use some extra ssh-options if you want... Run `./sage -notebook` on your server. Open a browser (locally) and type in `http://localhost:8000`
BTW: You do not need a X session to your server for that. |

2011-11-04 09:53:32 +0200 | received badge | ● Scholar (source) |

2011-11-04 09:04:31 +0200 | received badge | ● Student (source) |

2011-11-03 18:01:41 +0200 | asked a question | sage notebook server + ssh tunneling + port forwarding I have access to a remote server through a gate computer with this command: ssh -fN -l user -L port:host:22 gate #To Bring up the tunnel ssh -X -p port user@localhost #To open an X session to my server Once on the server I run sage by typing "./sage" in the installation directory. Now the questions: 1)Which are the right commands to bring up the remote notebook server? 2)What should I type in my local browser? (I suppose something like 'localhost:port', but even without launching the notebook server I get the following error:'SSH-2.0-OpenSSH_4.3 Protocol mismatch') I tried to read the instructions and the wiki, but I confess that I am at a loss. Thanks a lot Giovanni |

2011-11-01 04:57:25 +0200 | received badge | ● Supporter (source) |

2011-11-01 04:57:19 +0200 | commented answer | 2D interpolating function from numpy arrays to spherical-plot3d Thanks for the answer, the lambda form is especially useful. Nevertheless the fact that plot3d works and spherical_plot3d doesn't is odd |

2011-10-31 12:55:12 +0200 | received badge | ● Editor (source) |

2011-10-31 07:37:11 +0200 | asked a question | 2D interpolating function from numpy arrays to spherical-plot3d I need to plot an antenna emission pattern. I am importing data from a tabbed .txt file (theta[i,j],phi[i,j],r[i,j]) as numpy arrays. I then employ the same data to build a 2D interpolating function with the scipy module scipy.interpolate.interp2d. The interpolating function successfully works in plot3d, but somehow breaks spherical_plot3d. Is there anyway to build a working 2D interpolating function for spherical_plot3D? -----Toy Data--------- ------Traceback from spherical_plot3d--------- ------------Code------------- (more) |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.