求得按单元排列的位移和应力:def nodeData2ElemData(nodeData, ELEM, nodes_per_elem =4): #后处理云图是按照单元依次绘制,所有须要把按节点排列的数据转化为按单元排列 node_qty = nodeData.shape[0] # 按节点...
需要用到3个库:jieba(用于分割文本为词语)、imageio(用于读取图片)、wordcloud(功能核心,用于生成词云)。
使用wordcloud模块,生成云图,测试文本为: Betty Botter bought some butter but she said the butter’s bitter. If I put it in my batter it will make my batter bitter. So, she bo...