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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
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