Converting datacursor readings to log values.
Afficher commentaires plus anciens
I'm using an application which presents a curve with a logarithmic X-scale. The image is small and the scale divisions do not allow me to read the values accurately. I have enabled DataCursorMode, which is linear, and would like to convert these readings to be able to read the X points on the curve, but have been unable to determine the correct conversion factor. Advice will be appreciated. Thanks Stan
2 commentaires
per isakson
le 4 Sep 2014
I don't understand your question
Are you trying to define a function for
'UpdateFcn', function handle
Reference to a function that formats the text appearing in the
data cursor.
or
>> log10(10^3)
ans =
3
I don't follow, either -- if I do an example semilogx plot and turn on data cursor mode, I see x,y values in actual units, not y, log(x).
Or was the plot generated from log values as a linear plot, maybe? In that case it's 10^x_value (Per's second example).
Réponses (0)
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!