필터 지우기
필터 지우기

How to plot x and y axis from csv file

조회 수: 1 (최근 30일)
lucky_
lucky_ 2016년 8월 18일
댓글: Benjamin 2016년 8월 19일

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
Benjamin
Benjamin 2016년 8월 19일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by