MATLAB Answers

0

Graph with countries in x axis

Latest activity Edited by Utkarsh Belwal on 24 Jun 2019
Hey guys,
I've just become very familiar with Matlab, but I'm having trouble building a graph:
on the X axis I would like to have the name of countries .
I don't know the code to use
thanking you in advance
attached my file

  0 Comments

Sign in to comment.

1 Answer

Answer by Utkarsh Belwal on 24 Jun 2019
Edited by Utkarsh Belwal on 24 Jun 2019

Example of how to plot BankingHeter vs Countries graph using plot function,
A = readtable('UE.xlsx') ;
A.Countries = categorical(A.Countries) ;
plot(A.Countries , A.BankingHeter)

  0 Comments

Sign in to comment.