Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8586 > unrolled thread
| Started by | Andre Hautot <ahautot@ulg.ac.be> |
|---|---|
| First post | 2012-02-17 11:31 +0000 |
| Last post | 2012-02-20 07:50 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
saving a Notebook as pdf or xml Andre Hautot <ahautot@ulg.ac.be> - 2012-02-17 11:31 +0000
Re: saving a Notebook as pdf or xml Mauro <pippo@hotmail.com> - 2012-02-18 11:30 +0000
Re: saving a Notebook as pdf or xml David Bailey <dave@removedbailey.co.uk> - 2012-02-20 07:50 +0000
| From | Andre Hautot <ahautot@ulg.ac.be> |
|---|---|
| Date | 2012-02-17 11:31 +0000 |
| Subject | saving a Notebook as pdf or xml |
| Message-ID | <jhldql$ovl$1@smc.vnet.net> |
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
[toc] | [next] | [standalone]
| From | Mauro <pippo@hotmail.com> |
|---|---|
| Date | 2012-02-18 11:30 +0000 |
| Message-ID | <jho25e$5t7$1@smc.vnet.net> |
| In reply to | #8586 |
Il 17/02/2012 12:31, Andre Hautot ha scritto:
> 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
>
Saving as Postscript (*.ps) and converting to PDF I obtained an
acceptable result.
Mauro
[toc] | [prev] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2012-02-20 07:50 +0000 |
| Message-ID | <jhstvr$nlp$1@smc.vnet.net> |
| In reply to | #8586 |
On 17/02/2012 11:31, Andre Hautot wrote:
> 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
>
I use some free software called PrimoPDF. This pretends to be a printer,
and all you do, is print your notebook to this 'printer'.
David Bailey
http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web