|
From: Adrian H. <Hi...@ma...> - 2012-10-19 11:46:05
|
Hi I am trying to plot stacked 2-d files which vary in a 3rd dimension. i.e. I have multiple xy files. Something like the following link. http://www.mathworks.com/matlabcentral/fx_files/24368/4/style1.jpg Plotting a colour map works fine (once I get all the files into one file) with splot, but whenever I use splot with lines, it joins up along the y axis too. My script is: reset set termoption dash set term postscript color enhanced eps "Helvetica" 16 set output "stack_01.eps" set size 1,1 set border 4095 front linetype -1 linewidth 1.000 unset key unset contour set xlabel "2{/Symbol-Oblique q} / {/Symbol \260}" set ylabel "Scan number" set ytics mirror set zlabel "Relative intensity / s^{-1}" rotate by 90 set xrange [ * : 70 ] set yrange [ 1 : 95] set zrange [ * : *] set view 60,15 splot "combined.txt" using 2:1:($3/925.1) every :8::1::95 with lines #splot "combined.txt" using 2:1:($3/925.1) every :8::1::95 with points Can anyone suggest a good way to plot stacked plots, not joining up on the y axis? If the reader of this email is not the intended recipient(s), please be advised that any dissemination, distribution or copying of this information is strictly prohibited. Johnson Matthey PLC has its main place of business at 5th Floor, 25 Farringdon Street, London (020 7269 8400). Johnson Matthey Public Limited Company Registered Office: 5th Floor, 25 Farringdon Street, London EC4A 4AB Registered in England No 33774 Whilst Johnson Matthey aims to keep its network free from viruses you should note that we are unable to scan certain emails, particularly if any part is encrypted or password-protected, and accordingly you are strongly advised to check this email and any attachments for viruses. The company shall NOT ACCEPT any liability with regard to computer viruses transferred by way of email. Please note that your communication may be monitored in accordance with Johnson Matthey internal policy documentation. |