How can contour plot without any contour lines?

Discussion in 'MATLAB' started by Ahmet Mert, May 21, 2009.

  1. Ahmet Mert

    Ahmet Mert Guest

    Hello,

    i have a contour map and i don't want any line of contours.

    I used "contourf" command but still there are lines.

    thanks for your advice
     
    Ahmet Mert, May 21, 2009
    #1
    1. Advertisements

  2. Ahmet Mert

    Bruno Luong Guest

    a = peaks;
    [trash c]=contourf(a);
    set(get(c,'Children'),'LineStyle','none')

    Bruno
     
    Bruno Luong, May 21, 2009
    #2
    1. Advertisements

  3. Ahmet Mert

    Ahmet Mert Guest

    Great, Thanks!!!
     
    Ahmet Mert, May 21, 2009
    #3
  4. Ahmet Mert

    Yuji Guest

    It works. Thank you!

    What does "get(c,'Children')" mean?

    Thanks~



     
    Yuji, Jun 28, 2011
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.