MATLab Contour

Big Muscle
2009-03-26
2013-03-15
  • Big Muscle

    Big Muscle - 2009-03-26

    Hello.

    MATLab has nice function contourf(X,Y,Z,n) where n is number of levels. It is just easy to pass matrices X,Y,Z to this function and filled contour plot will be rendered.

    Is this possible with this library too? I'm asking because I saw contour function with Z parameter only (and I need to pass X and Y there too else it would render different plot).

    Thank you.

     
    • Big Muscle

      Big Muscle - 2009-04-03

      Nevermind, I found a way to do it using plcont. However, there must be bug in PLPlot or I don't know what's wrong. All data is correct, but there are cases when MATLab generates 1 closed contour, but PLPlot splits it into 2 single contours.

      What can be wrong with it? I can post my data if it helps.

       
      • Werner Smekal

        Werner Smekal - 2009-04-06

        Hi,

        could you repost your question on the developers mailing list (subscribe here: https://sourceforge.net/mail/?group_id=2915\)? The forums are only read by one developer (me ;) and I actually have no idea about a solution for your problem. The others might have.

        Thanks,
        Werner

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks