用蓝色、白色和红色

2021-02-24 17:20

构建彩色数据我试图比较不同的计算方法和软件程序。我基本上用下面的图例颜色绘制了一个DensityPlot棒材:棒材左边的条是由Python生成的,而右边的条是由Mathema

解答动态

  • 如何处理

    f1french=bl2 如何处理 法语=blbl{{0,蓝色},{1/2-0.1,白色},{1/2+0.1,白色},{1,红色},amp;
    update
    如果您想要更接近brewer-23
    col0=List[List[0,RGBColor[List[Rational[103255],0,Rational[31255]]、List[Rational[1,23],RGBColor[List[Rational[8,15],Rational[3,85],Rational[7,51]]、List[Rational[2,23],RGBColor[List[Rational[167255],Rational[19255]、Rational[8,51]]]、List[Rational[3,23]、RGBColor[List[Rational[63,85]、Rational[44255]、Rational[52255]]]、List[Rational[4,23]、RGBColor[List[Rational[41,51]、Rational[74255]、Rational[67255]]]、List[Rational[5,23]、RGBColor[List[Rational[44,51]、Rational[104255]、Rational[28,85]]]]、List[Rational[6,23]、RGBColor[List[Rational[232255],Rational[133255]、Rational[7,17]]]、List[Rational[7,23]、RGBColor[List[Rational[244255]、Rational[163255]、Rational[128255]]]、List[Rational[8,23]、RGBColor[List[Rational[50,51]、Rational[62,85]、Rational[52,85]]]、List[Rational[9,23]、RGBColor[List[Rational[254255]、Rational[211255]、Rational[188255]]]、List[Rational[10,23],RGBColor[List[Rational[254255],Rational[227255],Rational[212255]]],List[Rational[11,23],RGBColor[List[Rational[251255],Rational[16,17],Rational[232255]]],List[Rational[12,23],RGBColor[List[Rational[82,85],Rational[247255],Rational[83,85]]]],List[Rational[13,23],RGBColor[List[Rational[77,85],Rational[241255],Rational[49,51]]]],List[Rational[14,23],RGBColor[List[Rational[43,51],Rational[233255],Rational[242255]]],List[Rational[15,23],RGBColor[List[Rational[193255],Rational[223255],Rational[14,15]]],List[Rational[16,23],RGBColor[List[Rational[167255],Rational[208255],Rational[229255]]],List[Rational[17,23],RGBColor[List[Rational[46,85],Rational[193255],Rational[13,15]]]、List[Rational[18,23]、RGBColor[List[Rational[104255]、Rational[17225]、Rational[209255]]、List[Rational[19,23]、RGBColor[List[Rational[5,17]、Rational[3,5]、Rational[199255]]、List[Rational[20,23]、RGBColor[List[Rational[56255]、Rational[134255]、Rational[63,85]]]、List[Rational[21,23]、RGBColor[List[Rational[14,85]、Rational[23,51]、Rational[12,17]]]]、List[Rational[22,23]、RGBColor[List[Rational[29255]、Rational[97255]、Rational[11,17]]]、List[1、RGBColor[List[Rational[6,85]、Rational[74255]、Rational[134255]]]]]; 这样
    col0//transpose 到
    col[x?]=Blend[col0,x] 就会像这样工作本图:
    曲线图[Sin[10 x y],{x,0,1},{y,0,1},ColorFunction-gt;col,Contours-gt;None,PlotRange->;Full]

    • 获得所需内容的廉价方法是使用打火机[]和quot;以及适当的钟形曲线:
      LinearGradientImage[功能[x,打火机[ColorData[quot;,x],Sech[5(x-1/2)]],{300,30}]
      tourplot[x y,{x,-1,1},{y,-1,1},ColorFunction-quot;RedBlueTonesamp;),等高线-gt;无,绘图范围->;完整]

      • End

      免责声明:

      本页内容仅代表作者本人意见,若因此产生任何纠纷由作者本人负责,概与琴岛网公司无关。本页内容仅供参考,请您根据自身实际情况谨慎操作。尤其涉及您或第三方利益等事项,请咨询专业人士处理。