Réponse apportée
"Attempt to modify the tree during an update traversal"
That's some new error checking that was added in R2014b. It's detecting a case where code that's running during a drawnow is...

plus de 10 ans il y a | 0

Réponse apportée
Help with MESH command
Did you mean something like this? [r,theta] = meshgrid(linspace(0,1,30),linspace(0,2*pi,30)); x = r.*cos(theta); y = ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How to generate a point cloud in 3D?
This might be a good starting point: [x,y,z] = ndgrid(1:5:100,1:5:100,1:5:100); scatter3(x(:),y(:),z(:),'.') <</matla...

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
surf(Z) Z= 11x9 double produces a 10x8 surface
When you create a surface, each value in your matrix becomes one of the vertices of the surface. Since the faces of the surface ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Want to plot a single point on an ezmesh plot
The ezmeshc function leaves the limits in manual mode. This means that if mins or fval are outside the limits, they won't be str...

plus de 10 ans il y a | 0

Réponse apportée
I wanna make graph theory graphs in matlab. what commonds will be use for graph theory?
In R2015b, a new <http://www.mathworks.com/help/matlab/ref/graph.html graph function> was added for exactly this purpose.

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How to assign gradual color to a 3d line based on values of another vector
Unfortunately the line object that plot and plot3 create can't do color data interpolation. Several of the other objects can. Th...

plus de 10 ans il y a | 7

| A accepté

Réponse apportée
Coming up with a Unique Matlab Graphics / Plotting Solution
You've got some good ideas above, but I'd like to mention one thing that you're going to have to worry about. When you've got a ...

plus de 10 ans il y a | 0

Réponse apportée
How to check if handle is to a deleted axes?
A couple of choices. h = plot(1:10); delete(h) isvalid(h) isgraphics(h) Either of those will return false for a...

plus de 10 ans il y a | 5

| A accepté

Publié le


Memory Consumption
Today we're going to look at how MATLAB Graphics uses memory. First we need a way to tell how much memory MATLAB is...

plus de 10 ans il y a

Thumbnail

Réponse apportée
How to control the next color?
If you're using scatter without a CData argument (4th arg), then it's using the ColorOrder property of the axes. You can find so...

plus de 10 ans il y a | 0

Réponse apportée
How to plot the real function not just points in matlab?
That's all true, but we should probably stop to tell Karim that MATLAB does have a lot of tools for evaluating points on some of...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
3d graphics rendering very slow
It's hard to know without more details. Graphics performance is fairly complicated because it involves balancing several differe...

plus de 10 ans il y a | 0

Réponse apportée
Annotation position driving me mad!! changing the position values won't work...
What did you expect this to do? And how does that differ from what it is doing? Here's a simplified version of your code: ...

plus de 10 ans il y a | 0

Réponse apportée
How can I make a moving graph that shows new data as it comes in?
You're probably going to want to use the <http://www.mathworks.com/help/matlab/ref/animatedline.html animatedline object>. I wou...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Increase the plotting performance in the MATLAB level (drawmode/ optimizing rendering/ down sampling etc)
There isn't a "one size fits all" answer for this. We'd need to know more about what you're doing. The first step is to use ...

plus de 10 ans il y a | 0

Publié le


On The Edge
In an earlier post, we discussed how the contour functions interpolate between values. Another important issue is how the...

plus de 10 ans il y a

Thumbnail

Réponse apportée
Matlab Cylinder create and make a joint with another cylinder
It's a bit verbose, but the simplest way is probably nested <http://www.mathworks.com/help/matlab/ref/hgtransform.html hgtransfo...

plus de 10 ans il y a | 0

Réponse apportée
How to create a ezcontour in cylindrical domain?
Can't you just add the definition of R in terms of X & Y? syms x y r = sqrt(x^2+y^2); t = -r^2 + 1; ezcontour(t) ...

plus de 10 ans il y a | 0

Réponse apportée
2015b ghostscript not found - ps2pdf multi-page ps to pdf
We stopped shipping Ghostscript with MATLAB because nothing in MATLAB uses it any longer. If you're still using it, you can down...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
How can i draw a simultaneous animated plot?
Basically you just want one loop with both plotting commands in it. The tricky part of that is that you're currently depending o...

plus de 10 ans il y a | 0

Réponse apportée
realmax is really real max, but is realmin really real min?
I think that you're seeing the <https://en.wikipedia.org/wiki/Denormal_number denorms>. They allow you to get closer to 0, but a...

plus de 10 ans il y a | 3

| A accepté

Réponse apportée
How do i display a kannada unicode letters into its ASCII value using matlab code
Why do you want to convert to ASCII? MATLAB's native character representation is Unicode, not ASCII. You can display the cha...

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
3d plot-surf
You have a couple of options. We were just discussing them in <http://www.mathworks.com/matlabcentral/answers/247422-matlab-2-d-...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How can I delete previous circles while circle is moving ?
Ah, good question! You've got several options here. * There's the <http://www.mathworks.com/help/matlab/ref/cla.html cla fu...

plus de 10 ans il y a | 0

Réponse apportée
How to colour code polygons by area?
It's actually pretty easy to do with the <http://www.mathworks.com/help/matlab/ref/polyarea.html polyarea function>. Let's st...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
Surf plot of edges, smooth on one diagonal, spiky on the other
What you're seeing is the interpolation scheme I described in <http://blogs.mathworks.com/graphics/2014/11/18/what-is-a-surface/...

plus de 10 ans il y a | 0

Réponse apportée
How can I make a filled contour plot with data that has x,y coordinates and values corresponding to each point?
We were just talking about that case on <http://www.mathworks.com/matlabcentral/answers/247422-matlab-2-d-color-plot-without-ima...

plus de 10 ans il y a | 0

Réponse apportée
Set y-axis as vertical when plotting in 3d
Perhaps you just want to set the <http://www.mathworks.com/help/matlab/ref/camup.html CameraUpVector> ? xlabel('X') ylab...

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
i can't plot my function
That link in the error message should have taken you to <http://www.mathworks.com/help/matlab/creating_plots/resolving-low-level...

plus de 10 ans il y a | 0

Charger plus