I have a text file(which is scaled ionogram data) which is having columns like Day, Time, Frequency and height.

1 view (last 30 days)
I need to plot the data in such a way Time is on the X-axis, Height is on the left Y-axis and Frequency is on the right Y-axis.I'm unable to do that.

Answers (1)

Fabian Gock
Fabian Gock on 6 Jul 2018
Hi,
do you have problems with importing the data or the plotting part?
To import from a .txt the easiest way is to use the "import Data" GUI from matlab and let it generate a function, that imports the data just the way you like.
To create a plot with 2 y axes: https://de.mathworks.com/help/matlab/creating_plots/plotting-with-two-y-axes.html
Regards -Fabian

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!