How to plot x and y axis from csv file
Show older comments
I have data file that contain information about house and apartments price and country and city the country and city are represented by numbers I know how to plot the apartment and house using kmean clustering but I'm not sure about the city and country are they suppose to be x and y axises ? or if I don't add country and city to my figure will it make different Country: italy 1 france 2 uk 3 us 4
city paris 1 london 2 new York 3 Milano 4 roma 5
apartment 20009 57393 25808
house 100000 1946380 373590
the whole file look something like this
country | city | apartment | house |
1 | 4 | 409887 | 343927|
3 | 2 | 312321 | 656456|
2 | 1 | 4343242 | 543431|
4 | 3 | 324324 | 876321|
1 | 5 | 765354 | 321232| 1 Comment
Benjamin
on 19 Aug 2016
The title of your post does not match the question you are posing. Do you want to know how to read in a csv file or how to plot k-means clustering results?
Answers (0)
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!