W dniu 2010-06-28 20:37, Adam Majewski pisze:
> W dniu 2010-06-28 20:13, Mario Rodriguez pisze:
>> 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
> Dear Mario,
>
> Thx for answer,
> but note that svg image made by gnuplot does not use circle element,
> but path. It maybe important when one have to draw many ( like
> thousands) of circles, like images of :
>
> * circle packings
> * Kleinian groups
>
> Adam
Examples of this technique :
In Matlab :
http://www.mathworks.com/matlabcentral/fileexchange/15958-2d-apollonian-gasket-with-four-identical-circles
In Cpp :
http://commons.wikimedia.org/wiki/File:Poincare_halfplane_eptagonal_hb.svg
Adam