Hi.
I am trying to plot a 3D graph using gnuplot through visual C++ using *.bin file with 12 columns, in which only the 1st, 6th and 8th column is used as x,y,z axis to plot the 3D graph.
My first question is that must I rewrite the file into 3 columns for the gnuplot or can I use the original file (12 columns) to plot the graph? If the latter can be used, what are the codes that I must use to use the 1st, 6th and 8th column?
My second question, is there a need to define a space for the graph like a picture control or will the graph be shown as per normal like when running gnuplot itself?
My last question, how do I call gnuplot after opening the *.bin file?
Thanks in advance!
I am trying to plot a 3D graph using gnuplot through visual C++ using *.bin file with 12 columns, in which only the 1st, 6th and 8th column is used as x,y,z axis to plot the 3D graph.
My first question is that must I rewrite the file into 3 columns for the gnuplot or can I use the original file (12 columns) to plot the graph? If the latter can be used, what are the codes that I must use to use the 1st, 6th and 8th column?
My second question, is there a need to define a space for the graph like a picture control or will the graph be shown as per normal like when running gnuplot itself?
My last question, how do I call gnuplot after opening the *.bin file?
Thanks in advance!
Comment