From: Eduardo O. <edu...@gm...> - 2025-02-22 23:28:16
|
Hi list, the screenshot that I am attaching shows how the output of `draw2d'ing to the screen looks different from the output of `draw2d'ing to a PDF file. How do I fix that? I am also attaching a file "draw2d_to_screen_and_to_pdf.mac" that generates this/these drawing(s). My original drawing was made with my extensions for Qdraw, but "draw2d_to_screen_and_to_pdf.mac" is a translation of my code to plain Maxima... ...and I am also attaching the files that my .mac file created and sent to gnuplot, with a few minimal changes to make them easy to run - people can test them by downloading the files data.gnuplot, maxout_screen.gnuplot and maxout_pdf.gnuplot into an empty directory and then running this: gnuplot -p maxout_screen.gnuplot gnuplot maxout_pdf.gnuplot xpdf o.pdf If we diff the files maxout_screen.gnuplot and maxout_pdf.gnuplot we can see that they only differ in their first lines - set terminal GNUTERM size 600, 500 versus: set terminal pdf dashed enhanced color size 6.0cm, 5.0cm set out 'o.pdf' Thanks in advance! Eduardo Ochs |