From: Varun on 24 Jul 2010 13:00 I'm looking to generate plots, which look colorful enough in colored printouts, but should be distinguishable in grayscale printouts too. Any suggestions ?
From: Jan Simon on 24 Jul 2010 15:22 Dear Varun, > I'm looking to generate plots, which look colorful enough in colored printouts, but should be distinguishable in grayscale printouts too. Any suggestions ? How many different colors do you need? Do the pictures have lines, areas or both? There is not secure choice of colors, because the grayscale matching depends on the printer driver. Look for "hatch" in the FEX. Good luck, Jan
From: Varun on 24 Jul 2010 15:43 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i2fegr$60n$1(a)fred.mathworks.com>... > Dear Varun, > > How many different colors do you need? Do the pictures have lines, areas or both? > There is not secure choice of colors, because the grayscale matching depends on the printer driver. > Look for "hatch" in the FEX. > > Good luck, Jan Hi Jan, Thanks for the response. I should have been careful in using the term "colormap". I'm looking for 4-5 different colors for the line plots. But the data set is quite dense, so using different line types or different markers does not work (if I reduce the number of data points, the "fuzziness" of the experimental data goes away). So I don't think hatch will work in my case. Let me know if you have any other suggestions. Regards, Varun
From: Jan Simon on 24 Jul 2010 16:57 Dear Varun, > Thanks for the response. I should have been careful in using the term "colormap". I'm looking for 4-5 different colors for the line plots. But the data set is quite dense, so using different line types or different markers does not work (if I reduce the number of data points, the "fuzziness" of the experimental data goes away). So you see, it is useful to describe the problem with the smallest number of needed details, but not less. Another idea: t = 1:100; x1 = rand(1, 100); x2 = rand(1, 100); h1 = line(t, x1); t1 = 5:10:100; m1 = line(t1, x1(t1), 'Marker', 'o', 'LineStyle', 'none'); h2 = line(t, x2); t2 = 10:10:100; m2 = line(t2, x2(t2), 'Marker', 's', 'LineStyle', 'none'); Now you have *some* markers with different horizontal positions. So with a solid line, a dotted line, a dashed line, 2 extra markers and 1 grey shade, you could distinguish a bunch of lines. Using LEGEND will be really confusing, so you should a legend manually... Using a dark and ligh grey migth be an option, but then use the grey shades and no colors. Good luck, Jan
|
Pages: 1 Prev: Comparing a matrix with a vector Next: Transmission Line Model |