gnuplot映射与pm3d,isolines和标签

时间:2016-03-03 19:10:18

标签: gnuplot contour

在Gnuplot 5.0.1中,我尝试绘制地图(使用pm3d),包括等值线和带有每个等值线数值的标签。似乎我只能获得带有isovalues的等值线OR标签。

        //assumining the params are ints, this would be replaced with your values you want to filter with
        int[] paramValues = {100,200,300,500};

        StringBuilder sqlCommandBuilderTxt = new StringBuilder();
                sqlCommandBuilderTxt.Append("SELECT Firstname, Lastname, Phone#, Balance FROM tblname WHERE ");

        sqlCommandBuilderTxt.Append("Balance IN (");

        SqlCommand sqlCommand = new SqlCommand();

        //loop through all the param values to build the IN statement and create the paramaters
        for (int i = 0; i < paramValues.Count(); i++)
        {
            sqlCommandBuilderTxt.Append("@balance"+i+",");
            sqlCommand.Parameters.AddWithValue("@balance" + i, paramValues[i]);

            //remove trailing , and add end ) for IN statement
            if (i == paramValues.Count() - 1)
            {
                sqlCommandBuilderTxt.Remove(sqlCommandBuilderTxt.Length-1,1).Append(")");
            }

        }

我得到的是这个(在'spl ....'之后)

with labels

或者(在'repl ...'之后)

with labels

有办法获得线条和标签吗?

Data file

0 个答案:

没有答案