Plot,....but plot well!

버전 1.0 (1.57 KB) 작성자: Sergio Yanez-Pagans
Fix your horrible default MATLAB plot/graph/figure in 1 easy step
다운로드 수: 208
업데이트 날짜: 2021/7/5

Plot it,...but plot it well! (MATLAB)

Fix the horrible default MATLAB figures/graphs/plots easily! Ideal if you are looking for a good plot fast and easily or publication quality figures.

This code is a simple, but needed, compilation of several commands to improve any figure generated with MATLAB.

How to use this code:

Simply get your graph as you would normallly do and then use the command "butplotwell" to get your figure in good-shape. You can change the default preferences of "butplotwell" (font size, font type, aspect ratio, etc) by opening "butplotwell.m" and modifying the script (the fastest way of doing this is to right click on "butplotwell" on the MATLAB editor --> Open "butplotwell" --> Modify and save it).


[X,Y,Z] = peaks(100); surf(X,Y,Z); view(2); xlim([-2 2]); ylim([-3 3]); butplotwell

How to install these files:

  1. This code was written using MATLAB (version 2020a). Download MATLAB on your computer or try MATLAB online
  2. Download the file: "butplotwell.m"
  3. Once downloaded, copy this script file to the MATLAB parent directory. On Windows, this is typically: C:\Users\YourUserName\Documents\MATLAB
  4. That's it! You should be able to use "butplotwell" and get great graphs! :)


Exporting figure:

인용 양식

Sergio Yanez-Pagans (2024). Plot,....but plot well! (, GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.