|
From: chuckh <crh...@ya...> - 2011-04-01 03:34:40
|
Hi there, I'm hoping someone can help me as I've read so much information and haven't found out what I am doing wrong. Basically I am using a welding technology to develop a process for a medical customer. The welding process uses two main input parameters (Force and time). The customer is looking for a strong and aesthetically pleasing product. The higher the time and force the stronger the result is but the worse the aesthetic quality becomes. I'm looking to 3d plot the two input parameters and the result of the strength test (pull force value) and aesthetic quality (subjective 0-10 rating). Example script looks something like the following using gnuplot 4.4 patch 3: #Force vs. Time vs. Strength set xlabel "Force" set ylabel "Time" set zlabel "Strength" set pm3d set dgrid3d set contour set grid splot 'XXXXX.dat' with lines # XXXXX.dat file looks like the following: #left: force middle: time right: strength 50 0.01 100 50 0.01 102.12 50 0.01 98.55 50 0.011 109.43 50 0.011 111.21 50 0.011 113.12 50 0.012 121.9 50 0.012 119.14 50 0.012 120.19 46 0.01 98.11 46 0.01 96.59 46 0.01 95.12 46 0.011 104.11 46 0.011 103.98 46 0.011 105.21 46 0.012 115.78 46 0.012 113.21 46 0.012 117.21 48 0.01 99.12 48 0.01 98.99 48 0.01 100.1 48 0.011 108.11 48 0.011 107.66 48 0.011 109.11 48 0.012 118.11 48 0.012 119.21 48 0.012 120.09 The problem I'm seeing is that the graph looks like this: http://old.nabble.com/file/p31291642/example.png You see how the corners look like "horns". I would expect or should say want to have the graph roll more like a ramp. i.e. ramp up towards a higher time value and ramp down towards a lower time value. Can anyone point out some tips on how to resolve this? Thanks -- View this message in context: http://old.nabble.com/Design-of-Experiment-Data-Plotting-tp31291642p31291642.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-04-01 12:23:28
|
you are using 'dgrid3d' for mapping the data to a grid (but you already have your data in grid format). if you really want this functionality then you should adjust the number of rows and columns to the data: set dgrid3d 3 3 chuckh wrote: > > Hi there, > > I'm hoping someone can help me as I've read so much information and > haven't found out what I am doing wrong. > > Basically I am using a welding technology to develop a process for a > medical customer. The welding process uses two main input parameters > (Force and time). The customer is looking for a strong and aesthetically > pleasing product. The higher the time and force the stronger the result is > but the worse the aesthetic quality becomes. I'm looking to 3d plot the > two input parameters and the result of the strength test (pull force > value) and aesthetic quality (subjective 0-10 rating). > > Example script looks something like the following using gnuplot 4.4 patch > 3: > > #Force vs. Time vs. Strength > set xlabel "Force" > set ylabel "Time" > set zlabel "Strength" > set pm3d > set dgrid3d > set contour > set grid > splot 'XXXXX.dat' with lines > > # XXXXX.dat file looks like the following: > #left: force middle: time right: strength > 50 0.01 100 > 50 0.01 102.12 > 50 0.01 98.55 > 50 0.011 109.43 > 50 0.011 111.21 > 50 0.011 113.12 > 50 0.012 121.9 > 50 0.012 119.14 > 50 0.012 120.19 > > 46 0.01 98.11 > 46 0.01 96.59 > 46 0.01 95.12 > 46 0.011 104.11 > 46 0.011 103.98 > 46 0.011 105.21 > 46 0.012 115.78 > 46 0.012 113.21 > 46 0.012 117.21 > > 48 0.01 99.12 > 48 0.01 98.99 > 48 0.01 100.1 > 48 0.011 108.11 > 48 0.011 107.66 > 48 0.011 109.11 > 48 0.012 118.11 > 48 0.012 119.21 > 48 0.012 120.09 > > The problem I'm seeing is that the graph looks like this: > http://old.nabble.com/file/p31291642/example.png > > You see how the corners look like "horns". I would expect or should say > want to have the graph roll more like a ramp. i.e. ramp up towards a > higher time value and ramp down towards a lower time value. > > Can anyone point out some tips on how to resolve this? Thanks > -- View this message in context: http://old.nabble.com/Design-of-Experiment-Data-Plotting-tp31291642p31293483.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: chuckh <crh...@ya...> - 2011-04-01 14:33:42
|
I appreciate the suggestion. I definitely get a more accurate graph with the data: This is what the graph looks like now: I'm wondering how to get a better transition between colors on the pm3d function. Do you see how it is seperated into 4 quadrants with solid color in each. What function would help with this? Thomas Sefzick wrote: > > you are using 'dgrid3d' for mapping the data to a grid > (but you already have your data in grid format). > if you really want this functionality then you should > adjust the number of rows and columns to the data: > > set dgrid3d 3 3 > > > chuckh wrote: >> >> Hi there, >> >> I'm hoping someone can help me as I've read so much information and >> haven't found out what I am doing wrong. >> >> Basically I am using a welding technology to develop a process for a >> medical customer. The welding process uses two main input parameters >> (Force and time). The customer is looking for a strong and aesthetically >> pleasing product. The higher the time and force the stronger the result >> is but the worse the aesthetic quality becomes. I'm looking to 3d plot >> the two input parameters and the result of the strength test (pull force >> value) and aesthetic quality (subjective 0-10 rating). >> >> Example script looks something like the following using gnuplot 4.4 patch >> 3: >> >> #Force vs. Time vs. Strength >> set xlabel "Force" >> set ylabel "Time" >> set zlabel "Strength" >> set pm3d >> set dgrid3d >> set contour >> set grid >> splot 'XXXXX.dat' with lines >> >> # XXXXX.dat file looks like the following: >> #left: force middle: time right: strength >> 50 0.01 100 >> 50 0.01 102.12 >> 50 0.01 98.55 >> 50 0.011 109.43 >> 50 0.011 111.21 >> 50 0.011 113.12 >> 50 0.012 121.9 >> 50 0.012 119.14 >> 50 0.012 120.19 >> >> 46 0.01 98.11 >> 46 0.01 96.59 >> 46 0.01 95.12 >> 46 0.011 104.11 >> 46 0.011 103.98 >> 46 0.011 105.21 >> 46 0.012 115.78 >> 46 0.012 113.21 >> 46 0.012 117.21 >> >> 48 0.01 99.12 >> 48 0.01 98.99 >> 48 0.01 100.1 >> 48 0.011 108.11 >> 48 0.011 107.66 >> 48 0.011 109.11 >> 48 0.012 118.11 >> 48 0.012 119.21 >> 48 0.012 120.09 >> >> The problem I'm seeing is that the graph looks like this: >> http://old.nabble.com/file/p31291642/example.png >> >> You see how the corners look like "horns". I would expect or should say >> want to have the graph roll more like a ramp. i.e. ramp up towards a >> higher time value and ramp down towards a lower time value. >> >> Can anyone point out some tips on how to resolve this? Thanks >> > > http://old.nabble.com/file/p31295507/example2.png -- View this message in context: http://old.nabble.com/Design-of-Experiment-Data-Plotting-tp31291642p31295507.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |