thanks.I have matrix file, and I need to plot it by GNUplot, who knows how to do it ? thanks lot.
t*t
2 楼
If you already have grid data, just splot them. If not, you need to set dgrid3d first. If your file is in matrix format already. splot "data-file" matrix command you may need to check in gnuplot mannual. 1. splot (pay attention to the interpretation of data-file) 2. set dgrid3d 3. set surface 4. set pm3d 5. set contour
【在 s*****y 的大作中提到】 : thanks.I have matrix file, and I need to plot it by GNUplot, who knows how to : do it ? thanks lot.
s*y
3 楼
thanks so much,tlenet. I want to plot a 2D graph,in my matrix file, all elements are 0 or 1, so I need to plot all 1s,and discard all 0s, how do I do? like sequence match,if two sequence are match, then plot a dot , if not match, then ignore. thanks .
to
【在 t****t 的大作中提到】 : If you already have grid data, just splot them. : If not, you need to set dgrid3d first. : If your file is in matrix format already. : splot "data-file" matrix : command you may need to check in gnuplot mannual. : 1. splot (pay attention to the interpretation of data-file) : 2. set dgrid3d : 3. set surface : 4. set pm3d : 5. set contour
t*t
4 楼
then just plot the pairs with value 1, dicarding those with 0. Don't use matrix, just use a regular data file with three columns. set view 0,0 splot "file" using 1:2:3
【在 s*****y 的大作中提到】 : thanks so much,tlenet. : I want to plot a 2D graph,in my matrix file, all elements are 0 or 1, so I : need to plot all 1s,and discard all 0s, how do I do? like sequence match,if : two sequence are match, then plot a dot , if not match, then ignore. : thanks . : : to