Could you export the plot to PDF directly?, I'm in the same situation

El lunes, 11 de marzo de 2019 a la(s) 16:52:47 UTC-6, [email protected] 
escribió:

> Clarifications why using the pyqtgraph's .png and .svg export does not 
> work for me:
>
> 1. The original .png export is usually with very low resolution for 
> scientific publication.
> One can change the "width" and "height" of the export, which has an 
> effect, but not to 
> lines! For example see the plot:
>
> [image: test.png]
> the model is barley visible, while on the GUI I see it like this:
>
> [image: test_org.png]
> Ok, so .png --> .pdf will not work! 
>
>
> 2. The SVG output is also very strange: 
>
> [image: test_svg_pdf_png.png]
> The last image is svg --> pdf --> png (so I can upload it.) The model of 
> this export also looks like that there is no anti-aliasing. It does not 
> look good on a paper.
>
>
> If someone can help on any of these will be highly appreciated.
>
> I love how pyqtgraph works on my GUI project, but at the moment I simply 
> do not have a good quality plot out of it!
>
>
>
>
>
>
>
> On Monday, March 11, 2019 at 10:25:29 PM UTC+1, Trifon Trifonov wrote:
>>
>> The title says it all.
>>
>> Currently I can export to an .svg, which I can convert to a .pdf,
>>
>> or 
>>
>> for some plots I can use the matplotlib UI exporter and from there to 
>> save a pdf.
>>
>>
>> None of these is convenient and fast. 
>>
>>
>> Does anybody have an idea how can I hack for exaple the ImageExporter.py 
>> or the  SVGExporter.py to produce a .pdf output?
>>
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/bb7a3fc8-07a9-4b78-bf26-c6b3a9fff1aen%40googlegroups.com.

Reply via email to