필터 지우기
필터 지우기

Log Log plot in Curve Fitting app

조회 수: 24 (최근 30일)
Daniel Santos
Daniel Santos 2021년 2월 10일
편집: Aditya Shah 2022년 6월 8일
I the Curve Fitting app there is an option to generate and export a figure. I want insert log log scale in this graphic into Curve Fitting app. I can't found any option by change the scale of the graphic into Curve Fitting app. Is it possible to do this change in the axes? If yes, how can I change the scale of the graphic into the Curve Fitting App?

답변 (1개)

Aditya Shah
Aditya Shah 2022년 6월 8일
편집: Aditya Shah 2022년 6월 8일
Hi!
The following workflow will help in achieving the above-mentioned objective:
  • After you are done with the fitting job in the curve fitting app, click on Export --> Generate code, to generate the MATLAB code for your currently selected fit.
  • In the generated code, navigate to the part of the code where the plotting code is written, and modify it as per your requirement.
  • To change the axis scaling, you can add the following command, after the "plot" command:
set(gca,'XScale','log')
  • Alternatively, you can use "semilogx" or "loglog" method, as per your requirement.

카테고리

Help CenterFile Exchange에서 Fit Postprocessing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by