Re: [sage-support] Re: help with filtering between two lists.

2012-01-03 Thread William Stein
On Jan 3, 2012 3:51 PM, "Volker Braun" wrote: > > Lets face it, constructing a million 2d shapes is always going to be slow. If you create a PDF then it will be multiple megabytes and it will stress-test your PDF viewer. Might also be a challenge to print. Not impossible, but not very handy either

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread Eric Kangas
I will be printing it out on a plotter D size paper so it should be big enough. On Jan 3, 12:51 pm, Volker Braun wrote: > Lets face it, constructing a million 2d shapes is always going to be slow. > If you create a PDF then it will be multiple megabytes and it will > stress-test your PDF viewer.

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread Volker Braun
Lets face it, constructing a million 2d shapes is always going to be slow. If you create a PDF then it will be multiple megabytes and it will stress-test your PDF viewer. Might also be a challenge to print. Not impossible, but not very handy either. For example, here is a plot that contains abo

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread kcrisman
On Jan 3, 11:43 am, Eric Kangas wrote: > well I have 2 million data points, and would like to have each one of > them a different color. Wow, I have trouble getting this to show up in a reasonable amount of time. 2 million is a LOT. R = rainbow(10^6) also takes a long time. What I'd do is s

Re: [sage-support] Re: coeffs cannot handle a general function

2012-01-03 Thread Michael Orlitzky
On 01/03/2012 12:16 PM, Yi Wang wrote: Thanks a lot for creating the ticket! But in 4.7.0 coeffs doesn't work either. Because sage: f.coeffs(g) [[g(t)^2 + t + 3*g(t), 0]] is a wrong result for f = 3*g + g**2 + t. I expect a result [[t, 0], [3, 1], [1, 2]]. It would be very kind of you to upda

[sage-support] Re: coeffs cannot handle a general function

2012-01-03 Thread Yi Wang
Thanks a lot for creating the ticket! But in 4.7.0 coeffs doesn't work either. Because sage: f.coeffs(g) [[g(t)^2 + t + 3*g(t), 0]] is a wrong result for f = 3*g + g**2 + t. I expect a result [[t, 0], [3, 1], [1, 2]]. It would be very kind of you to update the ticket about it. I am new here and

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread Eric Kangas
well I have 2 million data points, and would like to have each one of them a different color. On Jan 3, 8:39 am, kcrisman wrote: > On Jan 3, 11:19 am, Eric Kangas wrote: > > > Also I have been trying to get list_plot to create a rainbow effect, > > but I am not sure how to go about it. Looked fo

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread Eric Kangas
well I have 2 million data points, and would like to have each one of them a different color. On Jan 3, 8:39 am, kcrisman wrote: > On Jan 3, 11:19 am, Eric Kangas wrote: > > > Also I have been trying to get list_plot to create a rainbow effect, > > but I am not sure how to go about it. Looked fo

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread Eric Kangas
well I have 2 million data points, and would like to have each one of them a different color. On Jan 3, 8:39 am, kcrisman wrote: > On Jan 3, 11:19 am, Eric Kangas wrote: > > > Also I have been trying to get list_plot to create a rainbow effect, > > but I am not sure how to go about it. Looked fo

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread kcrisman
On Jan 3, 11:19 am, Eric Kangas wrote: > Also I have been trying to get list_plot to create a rainbow effect, > but I am not sure how to go about it. Looked for possible coding and > couldn't find any. > Can you be more specific about what you'd like? We do have the rainbow() function for a ra

Re: [sage-support] coeffs cannot handle a general function

2012-01-03 Thread Michael Orlitzky
On 01/03/2012 10:48 AM, Yi Wang wrote: Hi, I found coeffs does not work with a general function. It would be of great help for me to have it fixed. Thank you! I created a ticket for this, http://trac.sagemath.org/sage_trac/ticket/12255 You should be able to CC yourself and be notified of a

[sage-support] Re: help with filtering between two lists.

2012-01-03 Thread Eric Kangas
Also I have been trying to get list_plot to create a rainbow effect, but I am not sure how to go about it. Looked for possible coding and couldn't find any. On Jan 2, 1:22 pm, Anton Sherwood wrote: > On 2012-1-02 09:24, Eric Kangas wrote: > > > l1 = [int(x) for x in p] > > l2 = [int(x) for x in d

[sage-support] coeffs cannot handle a general function

2012-01-03 Thread Yi Wang
Hi, I found coeffs does not work with a general function. It would be of great help for me to have it fixed. Thank you! I tested 4.7.0, 4.7.2 and 4.8.0alpha5. None of them work, though 4.7.0 gives slightly different result: # the following is result of 4.7.2 and 4.8alpha5. sage: g = function('g'

[sage-support] Re: plots in 3d are not published?

2012-01-03 Thread LFS
Thank-you for all the replies! I appreciate all the help. == 2d plots are generated with jmol in the published worksheets; == 3d plots are NOT generated. == (If possible) I want my user/viewer to be able to view the published worksheet without having to install anything (except be java enabled).