svg



Adam Majewski escribi?:
> Hi.
>
> I know that is possible to make svg images thru gnuplot ,
>
> http://commons.wikimedia.org/wiki/File:Circle_7_4.svg
>
> but some times it is better to use direct method :
>
> http://maxima-project.org/wiki/index.php?title=Gallery#Vector_images
>
> Are any better solutions ?
>
>
> Adam
>   

Adam,

We can add the svg terminal to draw. The problem is that when gnuplot 
creates the svg file, it forgets to write the end tag </svg>. Without 
these characters, firefox, and probably other viewers, don't show anything.

In the meantime, you can make use of option user_preamble this way:

user_preamble = ["set terminal svg", "set out 'output.svg'"]

But you have to edit the file and write </svg> at the end.

--
Mario