What is smooth curve?

7 views (last 30 days)
Enrica Brunetti
Enrica Brunetti on 23 Jan 2020
Answered: Arthur Goldsipe on 23 Jan 2020
The function mairplot, that shows MA plot with genes information as input, can return not only MA Plot, but with this code :
mairplot(mean1, mean2, 'Labels', genes.Properties.RowNames, 'Type', 'MA'); there is also the input argument NormalizeValue, which shows lowess normalized ratio values. Default is false. But what is the comand Show smooth curve? What does return it?

Answers (1)

Arthur Goldsipe
Arthur Goldsipe on 23 Jan 2020
I'm not sure I fully understand your question.
If you're asking what the checkbox labeled "Show smooth curve" does, you can see that by viewing the sufunction named updateSmoothLine in the file for mairplot.
Or maybe you are asking whether there's a command-line option that creates this smooth curve (so that you don't have to click on the checkbox). If that's what you're asking, I think there is no easy way to do that. But once again, you can always view the code for udpateSmoothLine. Perhaps you could use that code as inspiration and write something similar that does exactly what you want.

Community Treasure Hunt

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

Start Hunting!