|
From: Ethan M. <merritt@u.washington.edu> - 2010-10-10 17:31:21
|
On Saturday, October 09, 2010, Eric Wayman wrote:
> Hello,
>
> When creating a rowstacked histogram in gnuplot 4.4 patchlevel 0 under
> the pdfcairo terminal, I get a very ugly result compared to the
> postscript eps terminal. Specifically, the cross-hatching patterns
> look thick and ugly.
Yeah. I prefer to use greyscale instead:
plot 'foo' using 2 fs solid 0.0 lt -1, \
'' using 3 fs solid 1.0 lt -1, \
'' using 4 fs solid 0.5 lt -1
> I have attached the example output
> "election.pdf."
>
> Code:
>
> set datafile separator ","
> set out "election.pdf"
> set term pdfcairo font "IPAMincho"
> set title "日本語のフォントが使えます" font "IPAPMincho"
> set xlabel "X軸" font "IPAPMincho"
> set ylabel "Y軸" font "IPAPMincho"
> set style histogram rowstacked
> set style data histogram
> plot 'election.csv' using 2 fs pattern 0 lt -1, \
> '' using 3 fs pattern 1 lt -1, \
> '' using 4 fs pattern 2 lt -1
>
> Data:
>
> # Year, Red, Green, Blue
> 1990, 33, 45, 18
> 1991, 35, 42, 19
> 1992, 34, 44, 14
> 1993, 37, 43, 25
> 1994, 47, 15, 30
> 1995, 41, 14, 32
> 1996, 42, 20, 35
> 1997, 39, 21, 31
>
> Is there a way to make the patterns look more like they do under postscript eps?
>
> -- Eric Wayman
>
|