Issues on dimension setting of FFT plot in MATLAB 2022a.
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dr. Pemendra Kumar Pardhi
am 1 Aug. 2022
Kommentiert: Dr. Pemendra Kumar Pardhi
am 6 Jun. 2023
Hello everyone,
I have got an issue with the dimension setting, level of x-axis, y-axis, font size, style and “minor and major grid on” of the FFT plot of any signals in the MATLAB 2022a version.
FFT analysis can be obtained as an attached figure file. But there is not any option for editing the plot. How can I fix these issues?
5 Kommentare
Antworten (1)
Nadia Shaik
am 9 Jan. 2023
Hi Pemendra,
I understand that you want to edit the plots in the FFT Analyzer tool.
Unfortunately, editing the plots in FFT Analyzer is not possible. As a workaround, you need to re-create the plots manually. Refer the below pointers for more information:
- The following code shows how to reference the App handle and properties. For example, The Y-Axis limits of the plot can be modified once the ‘FFT Analyzer’ app is running with the code shown below:
GUItitle = 'FFT Analyzer';
hFFT = findall(0, 'type', 'figure', 'Name', GUItitle);
hAll = hFFT.RunningAppInstance
hAll.SignalAxes.YLim = [-600 600];
- The Y-Axis limits for the ‘FFT’ plot can also be modified by replacing ‘SignalAxes’ with ‘FFTAxes’. Both axes are ‘UIAxes’ objects. More information on ‘UIAxes’ object properties can be found at the link below: https://www.mathworks.com/help/matlab/ref/matlab.ui.control.uiaxes-properties.html
I hope the above information helps.
3 Kommentare
Nadia Shaik
am 11 Jan. 2023
Hi Pemendra,
The 'FFT Analyzer' was introduced in MATLAB R2021a version. Can you let me know the name of the tool that you've used in versions MATLAB R2018a or R2019a?
Siehe auch
Kategorien
Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!