Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

general

0 views
Skip to first unread message

dimitris

unread,
May 27, 2007, 5:21:54 AM5/27/07
to

http://reference.wolfram.com/mathematica/tutorial/IncompatibleChanges.html

In the part of changes between 5 and 6 we read

"The graphics functionality has significantly changed. For
compatibility purposes, use <<Version5`Graphics` to restore graphics
capabilities from Mathematica 5. To restore the Mathematica 6 graphics
capabilities, use <<Version6`Graphics`."

I think many will found useful above information.

Dimitris


Szabolcs

unread,
May 28, 2007, 1:20:13 AM5/28/07
to

Oh yes, it is useful!

The package redefines $DisplayFunction to Display[$Display, #, "MPS"]&.
For me, the missing piece was "MPS".

But unfortunately some things are not working ... like exporting
graphics. The resulting file contains "-Graphics-", literally.

And PostScript[] does not work either. Does anyone know how to produce
something like the following in Mathematica 6?

Graphics[
{ AbsoluteThickness[10],
PostScript["0 setlinecap"],
Line[{{-0.3, 0}, {-0.3, 1}}],
PostScript["1 setlinecap"],
Line[{{0, 0}, {0, 1}}],
PostScript["2 setlinecap"],
Line[{{0.3, 0}, {0.3, 1}}] },
AspectRatio -> Automatic, PlotRange ->
{{-0.5, 0.5}, {-0.2, 1.2}}] // Show

The built-in PostScript rasteriser does not seem to support setlinecap,
but the results can be seen when the graphics are exported to EPS.

setlinecap and setlinejoin were the only reasons I used PostScript[].

Mathematica 6 could simply ignore PostScript[], except when exporting to
EPS ... of course I can see the difficulties with this as some new
features, like Opacity, are not even supported when exporting to EPS, so
EPS can no longer be the main export format, and therefore it would be
an inconsistency to allow features that only work with this format ...

0 new messages