IMAGECF Complex Field Visualization (amplitude, phase)
This function provides a visualization tool of complex functions and 2D-real vector field.
IMAGECF(Z)
IMAGECF(Z,Zmax)
IMAGECF(X+iY,Z)
IMAGECF(X+iY,Z,Zmax)
IMAGECF(ax,___)
IMAGECF(ax,ax2,___) ax for the main image, ax2 for the color wheel plot
IMAGECF(___, option) color of zero. 'w'-white 'k'-black
h = IMAGECF(___);
Example1>
[x,y] = meshgrid(-2:.1:2);
z = x + 1i*y;
imagecf(x+1i*y, z.^2+1,1,'k');
Example2> Mapping real 2D vector field
[x,y] = meshgrid(-2:.1:2);
vx = -y;
vy = x;
imagecf(x+1i*y, vx+1i*vy);
New Features and Tips:
- Now, the tooltip shows the corresponding complex value of the current location
- The color wheel plot no longer takes a huge memory space.
- This function returns a handle of a Surface object. Try h.FaceColor = 'interp' or 'flat' if you are not satisfied with the current setting of h.FaceColor = 'texturemap'
- The real part of the complex field is stored in 'ZData', and the imaginary part is stored in 'UserData'. Try h.ZData and h.UserData to access them.
Zitieren als
Kanghyun Chu (2024). IMAGECF Complex Field Visualization (amplitude, phase) (https://www.mathworks.com/matlabcentral/fileexchange/69930-imagecf-complex-field-visualization-amplitude-phase), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: Complex Function Visualization (amplitude, phase)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.0.0 |