답변 있음
How to plot discrete points as colormap?
I think you want to use <http://www.mathworks.com/help/techdoc/ref/scatter.html |scatter|> instead of |surf|. Take a look at the...

12년 초과 전 | 2

| 수락됨

답변 있음
Get lineseries handle
Setting the |DisplayName| property does not automatically show the legend. You still need to explicitly show the legend: h ...

12년 초과 전 | 0

| 수락됨

답변 있음
Plotting cell array with empty cells - changing linespec
I would suggest using a property-value pair to set the marker instead of a linespec string in this case: f = { 1:3, rand(1,...

12년 초과 전 | 0

답변 있음
Help in visualizing four-dimensional data.
This series of videos discuses most of the functions used in MATLAB for visualizing functions of three variables: <http://blo...

12년 초과 전 | 0

답변 있음
Meshing around the outside of a circle
Are you using the <http://www.mathworks.com/help/techdoc/ref/delaunaytriclass.html |DelaunayTri| class> to generate the mesh? If...

12년 초과 전 | 0

답변 있음
Plotting X Y Z
This is simply not what <http://www.mathworks.com/help/techdoc/ref/ezplot.html |ezplot|> is designed to do. The documentation fo...

12년 초과 전 | 1

답변 있음
Why does EdgeLighting on patches not work?
It _is_ being lit, just not the way you're expecting based on how the patch was created. For example, after doing this... ...

12년 초과 전 | 2

| 수락됨

답변 있음
plot scatter and line in same grid
They're both there; they are just on vastly different scales. Note that the x-data of the line goes from 0 to 3. The x-data of t...

12년 초과 전 | 2

답변 있음
Superposition of contour and contourf
The issue arises from the fact that the colormap is a per figure (as opposed to per axes or per object) property. <http://www.ma...

12년 초과 전 | 0

답변 있음
Graph color as a function.
You might want to have a look at <http://www.mathworks.com/matlabcentral/fileexchange/14677-cline |cline| on the File Exchange>....

12년 초과 전 | 1

답변 있음
use of eval
I think <http://www.mathworks.com/help/techdoc/ref/feval.html |feval|> would be a better option here. It is a safer than |eval|,...

12년 초과 전 | 4

답변 있음
How to rotate a function about the y-axis
You might have a look at this similar question: <http://www.mathworks.com/matlabcentral/answers/9377-changing-reference-axis-...

12년 초과 전 | 0

답변 있음
Print an image with a fixed size
You should use the |'PaperPosition'| property to adjust the output size, not |'PaperSize'|. However, even if you make that chang...

12년 초과 전 | 0

| 수락됨

답변 있음
Images for real time spectrogram: how to change CData partially in an efficient way?
Don't assume you have a performance problem before you do. Try the |C = get(image1, 'CData')|, modify |C|, |set(image1, 'CData',...

12년 초과 전 | 0

답변 있음
Print curly braces in a plot
There's nothing that ships with MATLAB that does exactly what you want. The <http://www.mathworks.com/help/techdoc/ref/annotatio...

12년 초과 전 | 4

| 수락됨

답변 있음
Volumetric Interpolation using Slice function, how to obtain colour values from the image of the plane
You can extract the |CData| property of the slice surface |h|: get(h, 'CData') That should get you the values you're loo...

12년 초과 전 | 0

| 수락됨

답변 있음
MESHZ - Change Curtain color.
Yes, it is possible. You can do it by adjusting the <http://www.mathworks.com/help/techdoc/ref/surface_props.html#CData |CData|>...

12년 초과 전 | 0

| 수락됨

답변 있음
3D Surface Plot With Only Vectors
Have you looked at <http://www.mathworks.com/help/techdoc/ref/trisurf.html |trisurf|>? The idea is that you first need to com...

12년 초과 전 | 2

답변 있음
3d triplot
I think you might be looking for <http://www.mathworks.com/help/techdoc/ref/tetramesh.html |tetramesh|>.

12년 초과 전 | 0

답변 있음
Can I make a surface or colormap with latitude, longitude, and concentration using MATLAB? (photo example)
Have you looked at the <http://www.mathworks.com/help/techdoc/ref/pcolor.html |pcolor|> function? Here's an example: [x,y,z...

12년 초과 전 | 0

| 수락됨

답변 있음
title that spans subplots
An <http://www.mathworks.com/help/techdoc/ref/annotation.html |annotation|> is good to use here. It is a little easier than the ...

12년 초과 전 | 4

| 수락됨

답변 있음
what function contourc returns
The contour matrix that |contourc| returns is basically a bunch of vertices that define the contour lines. Each vertex is an (x,...

12년 초과 전 | 1

| 수락됨

답변 있음
Why does ishandle(0) return 1?
0 is the numeric handle to the <http://www.mathworks.com/help/techdoc/ref/rootobject.html |root object|>. You can find a list of...

12년 초과 전 | 0

답변 있음
Can timers trigger a single event that many objects listen to?
Sure, that's entirely possible. You can wrap the basic MATLAB <http://www.mathworks.com/help/techdoc/ref/timer.html |timer|> in ...

12년 초과 전 | 2

| 수락됨

답변 있음
Plotyy and error bars
When customizing graphs made with <http://www.mathworks.com/help/techdoc/ref/plotyy.html |plotyy|>, it is usually useful to stor...

12년 초과 전 | 0

| 수락됨

답변 있음
Strange patch behaviour when hgtransform applied to object
I think this is probably a bug in how the <http://www.mathworks.com/support/tech-notes/1200/1201.html#Section_1 ZBuffer renderer...

12년 초과 전 | 1

| 수락됨

답변 있음
How to get surf to plot all points and not ignore last row and column?
I understand that you want to draw a surface where each face is _centered_ at a certain location and colored appropriately. It _...

거의 13년 전 | 1

답변 있음
Need play/pause buttons for my animation!
I'm not quite sure I understand your objection to using <http://www.mathworks.com/help/toolbox/images/ref/implay.html |implay|>....

거의 13년 전 | 0

답변 있음
Interactive manipulation with graph in Matlab
You can achieve an effect similar to Mathematica's "Manipulate" by adding a <http://www.mathworks.com/help/techdoc/ref/uicontrol...

거의 13년 전 | 1

답변 있음
Plotting 3D graph using measured points
You could try <http://www.mathworks.com/help/techdoc/ref/trisurf.html |trisurf|>.

거의 13년 전 | 0

더 보기