MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ever gotten SVG Export to work?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59886] Re: ever gotten SVG Export to work?
  • From: Mike <m.HoneychurcNOSPAMh at uq.edu.au>
  • Date: Wed, 24 Aug 2005 06:32:37 -0400 (EDT)
  • Organization: University of Queensland
  • References: <200508210751.DAA26601@smc.vnet.net> <debt5c$9cj$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I've tried the following using V5.1 on Mac OS X 10.4

p1 = Plot[Sin[x], {x, 0, 2Pi}]
Export["p1.svg", p1, "SVG"]

p2 = Plot3D[Sin[x y], {x, 0, 2¼}, {y, 0, 2Pi}]
Export["p2.svg", p2, "SVG"]

I tried viewing the output from Export in Firefox, Safari and Inkscape. ( I
incorrectly said earlier that SVG was native in firefox. I think that an svg
viewer is part of the bundle.)

Firefox 1.06
Both p1.svg and p2.svg looked the same as in Mathematica
I could zoom in on the pictures but not zoom out.

Safari 2.0
Both p1.svg and p2.svg looked the same as in Mathematica
I could zoom in on the pictures but not zoom out. Zooming in made the
figures centre incorrectly.


Inkscape 0.42 (www.inkscape.org)
The tick numbering in p1.svg was raised slightly and overlapped the axis.
However because inskcape is an SVG creator it is and was easy to fix this.
p2.svg looked the same as in Mathematica

I didn't try incorporating fonts because the post below doesn't indicate
which fonts are not properly supported.

Cheers

Mike

On 22/8/05 4:59 PM, in article debt5c$9cj$1 at smc.vnet.net, "Chris Chiasson"
<chris.chiasson at gmail.com> wrote:

> I have had problems with SVG also. Send in your report to tech support
> so they can see how many people are having problems. The message I got
> back from them said:
> 
> Hello,
> 
> Thank you for the email.
> 
> I am sorry for the delay. It is true that the svg file is not
> properly formatted because the fonts are not properly supported in the
> current version of SVG export. We hope this will not be the case in future
> version of Mathematica. If you need scalable vector graphics with the
> fonts preserved then you should export as eps.
> 
> I have also included you contact information so that you can be notified
> when this has been resolved. I am sincerely sorry for any any inconvenience
> caused by this problem.
> 
> Sincerely,
> 
> Davina Lim
> Technical Support
> Wolfram Research, Inc.
> support at wolfram.com
> 
> On 8/21/05, dbsearch04 at yahoo.com <dbsearch04 at yahoo.com> wrote:
>> Hello:
>> 
>> I created a graphic using ListPlot3D from the Mathematica Help Browser page.
>> I
>> exported the graphic in SVG format. I downloaded the Adobe SVG browser
>> plug-in viewer.
>> 
>> When I try to display the graphic in IE, only the grid box shows
>> (including the tick maks), but not the graphic.
>> 
>> Has anyone gotten this to work?
>> 
>> The test of the browser plug-in (from the Adobe site) seems to work
>> fine.
>> 
>> TIA.
>> 
>> Regards..
>> 
>> 
> 


  • Prev by Date: Re: Weird Plot problem
  • Next by Date: Re: Simplifying Conjugate[] with 5.2 Mac
  • Previous by thread: Re: ever gotten SVG Export to work?
  • Next by thread: Re: ever gotten SVG Export to work?