Tag: Matplotlib
-
Matplotlib-Python에서 Fabio Crameri의 Scientific colour maps 사용하기
연구실의 동료가 소개해준 색상에 대한 선택인데, 몇 번 사용해보고는 의외로 그 품질이 마음에 들어서 여전히 사용하고 있습니다. 다음 공식 홈페이지 (https://www.fabiocrameri.ch/colourmaps/ )에 언급되어 있듯이 해당 색상 지도는 다음과 같은 두가지를 주안점으로 만들어졌습니다. 자세한 사항과, 각종 설명 및 시청각 자료는 저자의 사이트에서 참조할 수 있습니다. 여기에서는, 해당 색상지도를 Python환경에서 어떻게 사용할것인가에 주안점을 두고 있습니다. 저는 cmcrameri…
-
시각화 갤러리
Python의 Matplotlib를 활용해서 각종 데이터를 시각화 한지도 10여년정도 된 것 같습니다. 그럼에도 불구하고, 늘 쓰던 명령어를 제외하고는 기억이 나지 않아서 예전 스크립트를 찾거나 구글에서 찾아서 사용하고 있습니다. 한 번 쯤 체계적으로 그래프그릴때 사용하던 스크립트들을 업데이트 할 필요가 있다는 것을 생각하고 있습니다. 해당 카테고리에는 (가상의 데이터들로) 제가 사용하던 코드들을 간략화 시켜서 올려 둘 예정입니다. 또한 예전에…
-
Multi-symbol legends in Matplotlib, Python (revised)
[update on 24 May 2025: I realized that some of my old blog posts have been broken due to formatting issues. Hence, I adopted it with the contemporary WordPress writing format in this section. ] Recently, I met a problem showing multi-dimensional information in a single black-and-white figure. This figure includes (i) simulation data and…
-
Personal figure template using Matplotlib (Python)
I have been using Matplotlib for a long time to produce figures for scientific papers. As a person who is working on the theory and modeling, generating figures using a scripting language minimizes the effort to spend on analysis and produces results. The great flexibility of using a scripting language is a major benefit, regardless…