Python Pylab pcolor options for publication quality plots

前端 未结 2 817
孤独总比滥情好
孤独总比滥情好 2021-02-09 18:26

I am trying to make DFT (discrete fourier transforms) plots using pcolor in python. I have previously been using Mathematica 8.0 to do this but I find that the colo

2条回答
  •  南方客
    南方客 (楼主)
    2021-02-09 18:51

    Just for the record, in Mathematica 9.0:

    GraphicsGrid@{{MatrixPlot[l, 
        ColorFunction -> (ColorData["TemperatureMap"][Rescale[#, {Min@l, Max@l}]] &), 
        ColorFunctionScaling -> False], BarLegend[{"TemperatureMap", {0, Max@l}}]}}
    

    enter image description here

提交回复
热议问题