Linux, Python Programming Experiment with a new data and program files naming convention – part 1 How do you name your program scripts and data files? GuangzhiJanuary 23, 2021
Programming, Python Programming How to programmatically set the padding for matplotlib colobar axis? In this post I introduce a method to programmatically compute a suitable padding value for the colorbar in a matplotlib plot. GuangzhiJanuary 16, 2021
Algorithms, Programming, Python Programming Compute Sample Silhouette Values in a Clustering Analysis This post shares a Python implementation to compute the Silhouette Values in a clustering analysis. GuangzhiJanuary 10, 2021
Fortran Programming, Programming Fortran 教程第7章:文件 本章将深入介绍 Fortran 语言中文件的操作,包括打开、读写、 关闭、查询等命令。 徐 昭January 4, 2021
Programming, Python Programming How to label the contour lines at the edge of a matplotlib plot Sometimes it is more desirable to label the contour lines at the edge of a matplotlib plot, rather than inside. This post proposes one solution for this task. GuangzhiDecember 18, 2020
Programming, Python Programming How to align the ticks in multiple y- axes in a matplotlib plot This post shares a trick to align up the axis ticks on multiple y-axes in a matplotlib plot. GuangzhiDecember 4, 20202 Comments
Fortran Programming Fortran 教程第6章:函数 使用 subprogram 可以将复杂计算过程拆分成若干小过程,有利于构建清晰的代 码结构和实现代码复用和封装。本章将介绍两种 Fortran 编程中最为常用的两种 subprogram 形式:函数(function)和子程序(subroutine)。 徐 昭December 3, 2020
Python Programming How to change axis tick labels in a matplotlib plot? This post discusses how to change the tick label texts of an axis in a **matplotlib** plot, while preserving the axis offset. GuangzhiNovember 28, 2020
Python Programming [CDAT tutorial] netCDF file reading and saving Some basic netCDF data reading, creating and saving are covered in this chapter of the CDAT tutorial series. GuangzhiNovember 14, 2020