Graphics, Figures & TablesProblem with color in EPS figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
thekkk
Posts: 2
Joined: Wed May 19, 2010 11:13 pm

Problem with color in EPS figure

Post by thekkk »

I have a figure in eps with a graph and a colorbar with distinct colors (red,orange,green,...blue)

Although in my figure the colors are distinct, in the dvi i create the colors appear smooth and they mix with each other (no longer distinct)

but i want the colors to appear as is...

I appreciate any help..

Left is my .eps right is how it appears on dvi
(i use yap as a dvi previewer if it matters)
Attachments
error.jpg
error.jpg (13.25 KiB) Viewed 5583 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: Problem with color in EPS figure

Post by gmedina »

Hi,

convert your file to ps and then to pdf and see if the problem persists.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with color in EPS figure

Post by localghost »

thekkk wrote:[...] Left is my .eps right is how it appears on dvi
(i use yap as a dvi previewer if it matters)
Don't view your document in the intermediate DVI format. Most viewers don't display Postscript stuff correctly. Do as gmedina suggests and compile further to PS (or PDF) and compare again.


Best regards and welcome to the board
Thorsten
thekkk
Posts: 2
Joined: Wed May 19, 2010 11:13 pm

Re: Problem with color in EPS figure

Post by thekkk »

In pdf it appears correct. Thanx
Post Reply