i tried to reproduce your problem - but everything works as expected
(in gnuplot 4.3-cvs):
datafile 'ts.dat':
1 3 2 4
3 1 4 2
2 4 2 1
4 2 1 3
plot script 'ts.plt':
reset
set multiplot
set size 0.5,0.5
set origin 0.0,0.5
splot 'ts.dat' matrix u 1:2:($3*($1+$2)) w pm3d
set origin 0.5,0.5
splot 'ts.dat' matrix u 1:2:($3*($1+$2)):($1+$2) w pm3d
set pm3d interpolate 0,0
set origin 0.0,0.0
splot 'ts.dat' matrix u 1:2:($3*($1+$2)) w pm3d
set origin 0.5,0.0
splot 'ts.dat' matrix u 1:2:($3*($1+$2)):($1+$2) w pm3d
unset multiplot
results in this plot:
http://www.nabble.com/file/p24715853/ts.gif
atoms.h wrote:
>
> really, no one encountered this problem, yet?
>
> could you give a sample dataset and script showing
> your problem?
>
>
> atoms.h wrote:
>>
>> Hey all,
>>
>> I encountered a wierd problem. What I'm trying to do (and what partly
>> works) is a 3d plot with matrix data like
>>
>> $ splot path matrix u 1:2:($3*(Interf($1, $2, 5, 7.0, 14.5))) w pm3d
>> notitle
>>
>> and my pm3d setting is
>>
>> $ set pm3d interpolate 0,4
>>
>> up to here everything is fine!
>> However, if I try to assign the cbaxis like
>>
>> $ splot path matrix u 1:2:($3*(Interf($1, $2, 5, 7.0, 14.5))):(Interf($1,
>> $2, 5, 7.0, 14.5) w pm3d notitle
>>
>> or any other variable while interpolating, the only thing gnuplot seems
>> to do is scaling of the cbrange while still plotting the z-value on the
>> cbaxis... If I don't interpolate everything works fine!
>> Any clues?
>>
>
>
--
View this message in context: http://www.nabble.com/splot%2C-pm3d-interpolate-and-cb-assignment-tp24529245p24715853.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|