Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: saving a Notebook as pdf or xml
Replies: 2   Last Post: Feb 20, 2012 2:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
André Hautot

Posts: 18
Registered: 12/8/04
saving a Notebook as pdf or xml
Posted: Feb 17, 2012 6:31 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,
Here is a short Notebook that works pretty well :

gr = Plot3D[x^2 + y^2, {x, -2, 2}, {y, -2, 2}, Mesh -> None,
BoxRatios -> Automatic];

sol[p_, g_, y0_, vx0_] :=
NDSolve[{- x''[t] + (- g - (2 x'[t]^2 + 2 y'[t]^2 + 2 x[t] x''[t] + 2
y[t] y''[t])) 2 p x[t] == 0,
- y''[t] + (- g - (2 x'[t]^2 + 2 y'[t]^2 + 2 x[t] x''[t] + 2 y[t]
y''[t])) 2 p y[t] == 0,
z[t] == p (x[t]^2 + y[t]^2), x[0] == 0, x'[0] == -vx0, y[0] == y0,
y'[0] == 0}, {x, y, z}, {t, 0, 100}];

a0 = ParametricPlot3D[
Evaluate[{x[t], y[t], z[t]} /. sol[1, 10, 1.5, 1]], {t, 0, 10},
PlotStyle -> Thick];

Show[a0, gr]

However, 1) saving the Notebook as a pdf file alters the a0-display in
the final output
2) saving the Notebook as a xml file alters some printings like = = (Equal)

Suggestions ? Thanks in advance,

A. Hautot




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.