>
>
>>>> Okay.
>
> 1) "Classic notebook
> First cell :
>
> ## Let's go for maximal poor taste :
> var("y")
> p1=plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2),[x,-10,10],[y,-10,10],
> opacity=0.5)
> p2=plot3d((x^2+y^2)/100-1,[x,-10,10],[y,-10,10],
> color="yellow",opacity=0.5)
> (p1+p2)
>
> Gives nothing unless I add ".show()" at the end of the last line, which
> gives me the expected jmol figure (my browser bugs me to allow it...).
>
>
Hmm, that is still not good. In principle this should show up anyway.
What happens if you do just
p1
in the cell at the end?
> Second cell :
>
> (p1+p2).show()
>
> Same jmol figure. Same plea from the browser. I use the "advanced
> controls" to get a mesh and spin it (easier visual control).
>
> Coming back to first cell, I change -1 to +1 at the end of the definition
> of p2, then re-evaluate the cell. The first jmol restarts, re-bugs me, and
> displays an updated figure. THE SECOND JMOL DOESN'T CHANGE. Is that what
> you expected ?
>
>
If you didn't do anything to the second cell, that is fine. If you change
the second cell (or, with your particular code, re-evaluate it) then it
should change. If not, caching problem, perhaps.
> Coming back to the first cell, I try to add :
> p1.show()
> p2.show()
> before the "(p1+p2).show()" statement. Only the last one has an effect.
>
>
That I think is probably okay, but Volker may want to comment on this, as I
don't understand the display hook stuff well.
+++
By the way, it is interesting that you were using the "advanced controls";
that is the one thing we were unable to (currently) preserve in the new
javascript jmol at #16004, just because it was so difficult to get things
working at all. But is this useful enough that would be a serious
regression? The usual wisdom was that Java was so annoying to make work
right on so many platforms that it was better to move to a less-powerful js
option.
- kcrisman
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.