Georacer / ardupilog

A ardupilot log to MATLAB converter
GNU General Public License v3.0
49 stars 36 forks source link

Ardupilog.m: Also add ylabel when ploting on an explicit axis #83

Closed amilcarlucas closed 3 years ago

Georacer commented 3 years ago

I had purposely not added the y-label when the user passes the axis handle explicitly, as that would overwrite the label from the previous plot command. As a result, the latest plot would decide the y-label text.

In this case, I would prefer if the user explicitly set the y-label, in the case of multiple plots with different units involved.

Do you have a different use-case in mind that I didn't consider?

Georacer commented 3 years ago

FYI, I just added a fix in the plotting function, as the multiplier information wasn't used.

amilcarlucas commented 3 years ago

Thanks. The ylabel simplifies my code in a particular location. But you are right, I can fix it in another way.

Georacer commented 3 years ago

Okay, I'll close this then.