On Mon, Nov 24, 2008 at 9:00 PM, acardh <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> When I call,
>
> world + sum([point3d(v, color='red') for v in city_coords]) + sum
> ([point3d(v, size=2, color='green') for v in mydots])
>
> from within a file it does not work. I do not get an error message, it
> is just that the Jmol 3D image viewer never appears.
> That line of code call Jmol only when I put it directly on the Sage
> command line ( sage:  )

Try

show(world + sum([point3d(v, color='red') for v in city_coords]) +
sum([point3d(v, size=2, color='green') for v in mydots]))

>
> When I load the file with:
> sage: load "Plot_cities.sage"
> Jmol never shows up  :o(
>
> Antonio
>
>
> On Nov 12, 2:54 pm, acardh <[EMAIL PROTECTED]> wrote:
>> I change the sequence of dots to size=2 and now the line looks better.
>>
>> world + sum([point3d(v, color='red') for v in city_coords]) + sum
>> ([point3d(v, size=2, color='green') for v in mydots])
>>
>> The parametric_plot3d command seems a better way to do this but I am
>> not sure yet how to use it. I am working on it.
>>
>> Thanks
>>
>> On Nov 11, 11:19 pm, John H Palmieri <[EMAIL PROTECTED]> wrote:
>>
>> > On Nov 11, 9:01 pm, Robert Bradshaw <[EMAIL PROTECTED]>
>> > wrote:
>>
>> > > You can pass a "radius" or "size" parameter to the point command,
>> > > which will make them smaller or larger. Also, you can look at the
>> > > line3d command (pass it a list of points to get a curved line).
>>
>> > Also the parametric_plot3d command might be useful.
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to