Manipulate: Interactive Parametrized Plotting

버전 1.0.0.0 (3.87 KB) 작성자: Mingjing Zhang
An interactive plotting tool similar to (with much fewer features) "manipulate" in Mathematica
다운로드 수: 2.6K
업데이트 날짜: 2012/5/3

라이선스 보기

Many Mathematica users love the simple yet powerful command "manipulate". It allows user to interactively change the parameters and watch the graphical results updated in real time. However, to their disappointment, MATLAB does not have a similar function.

Now this m file, written in pure M-script, implements the SIMPLEST functionality of its Mathematica counterpart: The user could plot a parametrized curve, and manipulate as many parameters as he wants, and most importantly, the plot will be updated in REAL TIME as the user drags the slider.

This file makes use of a 'real time' slider. The idea was similar to a previous submission of a real time slider by Matt Jones, but my implementation was performed in a completely different way and no code from that submission was used in my file.

This is just the first installment, so the only thing that you can manipulate is a 2D curve. I plan to expand its functionality to support a greater variety of graphical objects. If you want any other new features added, please let me know.

The way to pass argument to manipulate.m is similar to that in Mathematica, but not quite the same. Please use

help manipulate

for the detailed usage. Or just type in

manipulate

to watch a demonstration.

Have fun!

(Only partially tested with MATLAB R2012a and R2011a. Please report any bugs and/or inconvenience to help me improve this program.)

인용 양식

Mingjing Zhang (2024). Manipulate: Interactive Parametrized Plotting (https://www.mathworks.com/matlabcentral/fileexchange/36512-manipulate-interactive-parametrized-plotting), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

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