Results 1 to 2 of 2

Thread: How to plot scatter plot with colorbar in MATLAB?

  1. #1
    Join Date
    Sep 2006
    Location
    Leibniz Institute for Tropospheric Research, Leipzig, Germany
    Posts
    37
    Thanks
    0
    Thanked 1 Time in 1 Post

    How to plot scatter plot with colorbar in MATLAB?

    Hi,

    I have a X and Y as my datasets of same dimension. Now I wanted to know how I can obtain the colorbar indicating the number of occurrences in the scatter plot between X and Y data? The points in the scatter plot shall be colored based on the number of times it occurred.

    Can anyone help me how I can obtain this colorbar with points coloured basing on the number of times it occurred in MATLAB with any simple example script?

    Thanking you in advance,
    Madhavan

  2. #2
    Join Date
    Jan 2005
    Location
    University of Melbourne
    Posts
    21
    Thanks
    0
    Thanked 1 Time in 1 Post
    Madhavan,

    We have something similar, which color the scatter according to the value in the scattered position. Please try the program http://www.cawcr.gov.au/staff/prasanth/marker_plot.m . Don't really know the weblink works or not, if not please let me know your email address, i will email you the matlab file.

    Cheers,
    Prasanth

Similar Threads

  1. anybody help me tell me how to plot this kind of image
    By qyuj in forum Oceanographic Applications & Data Analysis
    Replies: 5
    Last Post: 23rd August 2010, 02:16 AM
  2. Trigon plot generator
    By bkmagdoom in forum Oceanographic Applications & Data Analysis
    Replies: 0
    Last Post: 7th August 2010, 06:22 AM
  3. Pls help: scatter plot/correlation
    By divyadavidt in forum Oceanographic Applications & Data Analysis
    Replies: 5
    Last Post: 2nd January 2010, 06:51 PM
  4. how to draw contour color plot using irregular and regular datasets in MATLAB?
    By blmadhavan in forum Oceanographic Applications & Data Analysis
    Replies: 1
    Last Post: 27th April 2009, 02:29 AM
  5. how to plot confidence level for FFT peaks
    By nageswararao in forum Oceanographic Applications & Data Analysis
    Replies: 1
    Last Post: 24th June 2007, 08:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •