Draw a line in a pm3d map

前端 未结 1 2001
北荒
北荒 2021-01-23 02:44

I have a\"density and I want to overplot on it a \"line\".

1条回答
  •  北海茫月
    2021-01-23 03:23

    If you set pm3d, this style is used for all plots unless you explicitely specify a different plotting style. So you must use

    splot "file.txt" u (fact1)*(($1)**(-1.5)):(fact2)*(($2)**(-1.5)):6 ,\
          "line.txt" with lines 
    

    in order to plot line.txt as line:

    enter image description here

    0 讨论(0)
提交回复
热议问题