[sage-support] Re: How to import the file "function.py" to worksheet sage? sagemath loaded by virtual machine (VBox)

2016-02-07 Thread Dima Pasechnik
On Saturday, February 6, 2016 at 10:11:57 PM UTC, jmarcell...@ufpi.edu.br wrote: > > I want to import a file function called "function.py" to my Worksheet. How > to do? > you need to get the file visible in your virtual machine. Typically one would share some directory/folder between the host

[sage-support] Re: how to user a external program to plot graphic?

2016-02-07 Thread Nathann Cohen
If you are just wondering how to change the viewer used to display the pictures produced by Sage, the answer is right there: http://doc.sagemath.org/html/en/reference/misc/sage/misc/viewer.html Nathann On Saturday, February 6, 2016 at 11:11:57 PM UTC+1, jmarcell...@ufpi.edu.br wrote: > > h

[sage-support] Re: All hamiltonian cycles in graphs

2016-02-07 Thread Christian Stump
Many thanks, works well and fast enough! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send e

Re: [sage-support] how to user a external program to plot graphic?

2016-02-07 Thread Dima Pasechnik
On Saturday, February 6, 2016 at 11:38:43 PM UTC, William wrote: > > > > On Saturday, February 6, 2016, kcrisman > > wrote: > >> >> how to user a external program to plot graphic? ex: gnuplot, xmaxima, >>> mgnuplot >>> >> >> >> I don't believe Sage includes any of those external plotting pr

Re: [sage-support] Re: graphic conversion from maxima to sage

2016-02-07 Thread Henri Girard
Hi, I finally got this with circuitikz (tikz), in a jupyter sage-n=ipython (sage-7.1 beta2 of today fresh compile, but I can work on other version too) : %matplotlib inline #%display latex %install_ext http://raw.github.com/jrjohansson/ipython-circuitikz/master/circuitikz.py %load_ext circuit

Re: [sage-support] Re: graphic conversion from maxima to sage

2016-02-07 Thread Henri Girard
I forgot would tikz or circuitikz work on sagemathcloud ? Is it installed ? Le 07/02/2016 14:23, Henri Girard a écrit : Hi, I finally got this with circuitikz (tikz), in a jupyter sage-n=ipython (sage-7.1 beta2 of today fresh compile, but I can work on other version too) : %matplotlib inline

[sage-support] Re: How to import the file "function.py" to worksheet sage? sagemath loaded by virtual machine (VBox)

2016-02-07 Thread jmarcellopereira
my files are on the local machine(netrunner linux) and the sagemath runs on the virtual machine(lubuntu in another room ). I tried that way (%load /path /to/function.py or %attach /path/to/function.py) , but only import virtual machine files, not the host machine. Em sábado, 6 de fevereiro de 20

[sage-support] Re: how to user a external program to plot graphic?

2016-02-07 Thread jmarcellopereira
Hi I really want to see the graphics out of sagemath, in another window (ex: gnuplot.plot3d (f = 'cos (x) + sin (y) * 2', xmin = -1, xmax = 1, ymin = -1, ymax = 1, -1 = zmin, zmax = 1, title = None, samples = 25 = 20 isosamples, xlabel = x, ylabel = 'y', interact = True)). Is okay only the fir

[sage-support] Re: how to user a external program to plot graphic?

2016-02-07 Thread Dima Pasechnik
which version of gnuplot are you using? The one that comes from sage? another one? On Sunday, February 7, 2016 at 3:32:06 PM UTC, jmarcell...@ufpi.edu.br wrote: > > Hi > > I really want to see the graphics out of sagemath, in another window (ex: > gnuplot.plot3d (f = 'cos (x) + sin (y) * 2', x

[sage-support] Re: How to import the file "function.py" to worksheet sage? sagemath loaded by virtual machine (VBox)

2016-02-07 Thread Dima Pasechnik
On Sunday, February 7, 2016 at 3:20:07 PM UTC, jmarcell...@ufpi.edu.br wrote: > > my files are on the local machine(netrunner linux) and the sagemath runs > on the virtual machine(lubuntu in another room ). I tried that way (%load > /path/to/function.py or %attach /path/to/function.py) , but o

[sage-support] Re: How to import the file "function.py" to worksheet sage? sagemath loaded by virtual machine (VBox)

2016-02-07 Thread jmarcellopereira
Hi Dima I disabled the firewall virtual machine and can send, but do not understand how to use the file. mensgem: Access fiboR_SG_PY.py in this worksheet by typing DATA+'fiboR_SG_PY.py'. *Here DATA is a special variable that gives the exact path to all data files uploaded to this worksheet.*

[sage-support] Re: how to user a external program to plot graphic?

2016-02-07 Thread jmarcellopereira
Yes, I want the graph appears out of sagemath in another window, like gnuplot.plot3d (f = 'cos (x) + sin (y) * 2', xmin = -1, xmax = 1, ymin = -1, ymax = 1, -1 = zmin, zmax = 1, title = None, samples = 25 = 20 isosamples, xlabel = x, ylabel = 'y', interact = True)). I use gnuplot 5.0. Em doming

[sage-support] Re: How to import the file "function.py" to worksheet sage? sagemath loaded by virtual machine (VBox)

2016-02-07 Thread jmarcellopereira
Hi I solved the problem I created the file function fiboR_SG.py below def fiboR_SG(n): if n < 2: return n else: return fiboR_SG(n-1) + fiboR_SG(n-2) upload fiboR_SG.py using "DATA" in Worksheet menu. In the "You may download fiboR_SG.py or create a link to this file in w