Mathematica学习笔记2

导入文件中的矩阵

mat = Import["...", "Table"]

转化为向量矩阵(元素为数对)

data = Table[{mat[[i, j]], mat[[i + 128, j]]}, {i, 1, 128}, {j, 1, 128}]

常用的画图命令:

ListStreamPlot[data]

ListVectorPlot[data, VectorPoints -> All/Fine]

ListVectorDensityPlot[data]

ListStreamDensityPlot[data]

ListLineIntegralConvolutionPlot[data]

转载于:https://www.cnblogs.com/shawnpoo/p/3180782.html

你可能感兴趣的:(Mathematica学习笔记2)