|
From: nole <aa...@ya...> - 2007-10-14 16:46:12
|
Thank you for the respond. Let me clarify.
I am trying to reproduce a plot made by other people, so I know where
contour should be in the plain. As an additional check I used "dot plot"
technique to plot my data, like that
plot "bdr1-omgh2.dat" using 2:($3>0.13 ?$1:0) w points,\
"bdr1-omgh2.dat" using 2:(($3<=3D0.13 && $3>=3D0.095 )?$1:0) w poi=
nts,\
"bdr1-omgh2.dat" using 2:($3<0.095 ?$1:0) w points
This gave me the expected result, so my data is correct. I even I ask my
friend to make these contours with another plotting program using my data
and they were in the right place.
Contours should be located in the low X half of the plain and go, more or
less, on 40 degree angle to Y-axis from the lower left corner till the uppe=
r
end of Y. But the contour line made by the script I shown (you were
correct, I forgot to write "set contour base", "unset surface", "set view
0,0" commands, but they were in the script all the time, sorry for the
confusion) produce contour lines in the *lower right* corner of the (X,Y)
plain, where, according to the picture made by the above "plot" command, Z
is <0.095
I have no idea what is going on with gnuplot. Hope you can help me. Thanks.
Hans-Bernhard Br=C3=B6ker-2 wrote:
>=20
> nole wrote:
>=20
>> I am trying to make contour lines and Gnuplot does them without any erro=
r
>> messages, but puts them in a completely wrong part of the frame.=20
>=20
> You'll have to be more specific than that. Where does it put them, and=
=20
> why is that supposedly wrong?
>=20
>> Here is the script:
>> unset log # remove any log-scaling
>> unset label=09 # remove any previous labels
>> unset dgrid3d # remove any previous binning
>> set xtic auto=09 # set xtics automatically
>> set ytic auto=09 # set ytics automatically
>> set xrange[100:800]
>> set yrange[100:650]
>> set dgrid3d 140,100
>> set cntrparam levels discrete 0.095,0.11,013
>> splot "bdr1-omgh2.dat" using 2:1:3=20
>=20
> I strongly doubt that can be the actual script. This one's not doing=20
> any contouring at all --- it's missing a "set contour" command. And a=20
> '.' might have gone missing from the "set cntrparam" command.
>=20
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>=20
>=20
--=20
View this message in context: http://www.nabble.com/need-help-with-contours=
-tf4619674.html#a13200774
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|