Graphics, Figures & TablesDarker colors in PDF output

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
gregsa
Posts: 6
Joined: Wed Sep 01, 2010 1:12 pm

Darker colors in PDF output

Post by gregsa »

I am using a gnuplot (cairopdf terminal) to generate colorful charts. Then I include those pdf files with \includegraphics{}. All is complied using pdflatex.

In the final pdf file most of the pictures have darker colors then in original pdf files. I could live with that but this does not happen in all cases. Some remain not changed.

Have any of you encountered this problem before?

Any help wolud be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Darker colors in PDF output

Post by coachbennett1981 »

I used to use gnuplot before I started using PStricks. I understand what you are working with. Even with the PDF looking light the figures generally print nicely, here is a link that I found that may help. It has been over a year since using Gnuplot, but maybe this will help.

I think you are looking for "thickness" for your graphs, so the lines show up better, and your axes, etc.

I would strongly recommend switching to PSTricks it is much easier and produces much higher quality graphs that Gnuplot ever could.

I hope this helps.

If you have a graph, send me the code and I will show you how nice PSTricks looks.

Best,

Nicholas
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Darker colors in PDF output

Post by localghost »

gregsa wrote:I am using a gnuplot (cairopdf terminal) to generate colorful charts. Then I include those pdf files with \includegraphics{}. All is complied using pdflatex.[…]
There is the pgfplots package (based on pgf/tikZ) which allows also to create charts and the like. It uses Gnuplot as backend.

I suggest to attach a file produced by Gnuplot along with the according dataset so we can reproduce it with other tools. Additionally you can present the corresponding Gnuplot script. But it's important to have the dataset here.


Thorsten
Post Reply