help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with printed figures


From: Benjamin Abbott
Subject: Re: Problems with printed figures
Date: Fri, 06 Dec 2013 20:38:30 -0500

On Dec 6, 2013, at 7:02 PM, Terry Duell <address@hidden> wrote:
> 
>> On Sat, 07 Dec 2013 10:40:44 +1100, Terry Duell <address@hidden> wrote:
>> 
>> On Sat, 07 Dec 2013 10:22:48 +1100, Dmitri A. Sergatskov <address@hidden> 
>> wrote:
>> 
>> [snip]
>> 
>>>>> Importing your svg into LibreOffice I see that the y axis values are
>>>> plotted on top of the y axis, the yaxis label is written horizontally
>>>> instead of vertically, the title text is shifted to the right, and the
>>>> legend text is displaced to the right and on top of the sample
>>>> lines...apart from those minor infractions LibreOffice renders it OK :-)
>>>> It would seem that my LibreOffice has real problems knowing how to render
>>>> svg.
>>>> I will prepare a bug report with some examples.
>>>> Thanks for your help.
>>> Terry,
>>> 
>>> Do you have "libreoffice-graphicfilter" installed?
>> 
>> Yes, that is installed.
>> I have seen some comments that Linux distro packages of LibreOffice have had 
>> problems of this sort, whilst the package from LO themselves has not, so I 
>> have been through the tedious process of removing my Fedora LO and 
>> installing the LO package from LO site, only to see the same behaviour.
>> Interestingly, LO Draw renders my Octave generated svg almost correctly, it 
>> leaves out the legend text, whilst LO Writer renders my svg out of 
>> proportion and with no horizontal grid lines.
>> Ron's svg is rendered much better, but does still causes LO problems, as I 
>> reported.
>> There may be some issues with Octave's generated svg format, but that 
>> certainly isn't clear as Inkscape handles Octave's svg OK.
>> 
>> I have lodged a bug report with LibreOffice, and hopefully will learn 
>> something from that.
> 
> Just testing this a bit further, I have run Ron's gnuplot script to generate 
> an svg, and that svg loads into my LO Writer correctly (using "insert > 
> picture > from file" ) but is incorrectly rendered by LO Draw.
> I have "gnuplot-4.6.1-6.fc19.x86_64" and "octave-3.6.4-3.fc19.x86_64"
> I would have guessed that Octave would use this gnuplot to generate the svg 
> file, but clearly the svg generated by Octave is different to that generated 
> directly by gnuplot.
> Can anyone elaborate on what might be happening here?

Octave uses gnuplot to generate an eps file and then uses pstoedit, epstool, 
transfig, or Ghostscript to convert to other formats.

Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]