|
From: Vik R. <vi...@mi...> - 2011-03-23 17:39:08
|
I'm getting the following error message:
warning: No usable data in this plot to auto-scale axis range
z axis range undefined or overflow
Here is the data file:
0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 1 1 1 0
3 0 0 0 1 0 0 0 0 0 0 0 0
4 0 0 1 0 2 0 1 0 0 1 0 0
5 0 1 0 0 2 1 2 0 3 2 2 0
6 0 1 1 2 7 7 3 5 4 3 0 0
7 0 2 4 1 6 3 12 6 3 7 0 0
8 0 1 2 3 6 3 6 9 7 4 1 0
9 0 6 3 1 2 2 4 2 7 4 0 0
10 0 2 2 2 1 5 5 7 2 5 0 0
11 0 0 0 0 0 0 0 0 0 0 0 0
Here are the commands:
===START OF COMMAND FILE===
unset surface
unset key
set view map
set pm3d
set palette defined (0 'black', 1 'gray30', 1.5 'gray40', 1.26315789474 'dark-green', 3.15789473684 '#dac000', 3.78947368421 '#fee000', 4.73684210526 '#fc7a00', 5.68421052632 '#ff8000', 8.52631578947 '#ff5a00', 11.3328947368 'orange-red', 11.5552631579 '#ff0000', 12 'dark-red')
set cbrange [0:13]
set output '/chart10.jpg'
set term jpeg size 600, 600 enhanced font '/Library/Fonts/Arial.ttf' 8 x000000 xffffff
set dgrid3d 200,200 splines
set size square
set xtics("" 1, "Day 0" 2, "1-3 days" 3, "4-6 days" 4, "1 week" 5, "2 weeks" 6, "3 weeks" 7, "1 month" 8, "2-3 mos" 9, "4-6 mos" 10, "7-12+ mos" 11 )
unset label
unset title
set label '{/=16 Chart Title}' at 6.5, 11.25 center offset 0, 0.5
set xtics out nomirror
set ytics out nomirror
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 y2tics("" 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:12] reverse
set yrange [0:11]
splot [1:] '/dataFileKey_10' matrix
replot
===END OF COMMAND FILE
I don't usually get an error running these commands on other data sets. How can I correct this?
Thanks very much in advance to all for any info.
Best,
-Vik
|