|
From: Tait <gnu...@t4...> - 2011-02-16 22:31:32
|
The set style fill syntax you have ought to work. It did for me. Perhaps the particular flavor of JPG terminal that you're using doesn't support it? (That seems unlikely, as I think both libgd and Cairo support transparency.) Transparency support wasn't present pre-4.4, but then you should have gotten an error on the set command. The files for all the demos are in the demo directory of your gnuplot installation. Normally they'd also be available to in the SourceForge CVS file browser, but that is down now because of the attacks. Histograms are a 1-D plot type, so I'm not sure how/if it will work with smoothing. You might have to do the frequency smoothing in one pass to generate a data table (help table), and then plot the frequency-smoothed data file as a histogram using 2:xticlabels(1) or something similar. In case you can't find it, here is the first few columns of immigration.dat: # IMMIGRATION BY REGION AND SELECTED COUNTRY OF LAST RESIDENCE # Region Austria Hungary Belgium Czechoslovakia ...etc 1891-1900 234081 181288 18167 - 1901-1910 668209 808511 41635 - 1911-1920 453649 442693 33746 3426 1921-1930 32868 30680 15846 102194 1931-1940 3563 7861 4817 14393 1941-1950 24860 3469 12189 8347 1951-1960 67106 36637 18575 918 1961-1970 20621 5401 9192 3273 > 1. Here is the output http://old.nabble.com/file/p30936652/transp.jpg > transp.jpg I do not get the transparency effect with, > > set style fill transparent solid 0.50 noborder > > 2. I liked the cluster histogram but confused about how my data should be > arranged as i did not find immigration.dat file to take a look inside it. > > Many thanks! |