From: Vincent Yau <v_yau3@ho...> - 2004-08-23 18:59:49
I have been playing with gnuplot in the last week to do a 3D plots from a
data file (scattered plots).
It is working great. I am hoping to add another curve on the X-Y plane
to reflect the number of points on the Y-Z plane. So the more points along
the Z-axis, I would reflect that on the X-Y plane perhaps by intensifying
On a different but related graph, I turned on "set dgrid3d" and did
a "set pm3d at b" which accomplishes that. But "set dgrid3d" does
a weighted average which I don't want to do. As soon as I remove that,
"set pm3d at b" does not seem to do anything for my curve.
Any tip much appreciated...
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
Vincent Yau wrote:
> It is working great. I am hoping to add another curve on the X-Y plane
> to reflect the number of points on the Y-Z plane. So the more points along
> the Z-axis, I would reflect that on the X-Y plane perhaps by intensifying
> the color.
You can add the curve, but gnuplot may not be the right tool to compute
the data to be used in that curve. Not unless you're willing to jump
through some hoops with 'set term table' and the 2D 'smooth freq' plot
Gnuplot has 2 different groups of methods for turning scattered data
into organized ones: in 2D, you have 'smooth', in 3D, you have 'set
dgrid3d' mode. Your task falls into the gap between those, which makes
it tricky to accomplish.
Get latest updates about Open Source Projects, Conferences and News.