|
From: Vik R. <vi...@mi...> - 2010-11-11 13:13:29
|
I'm building a false color plot. I would like the y axis tic labels to appear on the right, but I haven't yet found a way to do that. Currently they appear on the left.
How can I get the y axis tic labels to appear on the right of the plot? Sample code is attached.
Thanks very much in advance to all for any info.
Best,
-Vik
###gnuplot commands:
unset surface
unset key
set view 90,0
set pm3d
set palette defined ( 0 'web-blue', 5 'white', 10 'goldenrod', 15 'red', 20 'red' )
set dgrid3d 600,600 gauss 0.45,0.45
set size square
set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5, "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1 Year+" 10 )
set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11)
set xrange [0:11] reverse
set yrange [0:11]
splot [1:] 'data.txt' matrix
###Contents of data.txt file:
0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0 0
2 0 1 0 0 0 2 0 0 0 0 0
3 0 2 2 1 3 1 2 0 0 0 0
4 0 4 6 1 2 3 4 1 0 0 0
5 0 3 4 3 4 9 3 0 1 0 0
6 0 3 14 5 4 19 6 1 1 0 0
7 0 4 33 10 4 20 7 5 2 0 0
8 0 8 23 4 5 17 5 0 2 0 0
9 0 2 11 6 8 12 6 2 0 0 0
10 0 12 4 5 4 4 2 0 0 0 0
11 0 0 0 0 0 0 0 0 0 0 0
|