回答済み

How do I hide values which are out of the plot borders after I zoomed in?

For historical reasons, the default value of the <http://www.mathworks.com/help/matlab/examples/changing-text-properties.html te...

How do I hide values which are out of the plot borders after I zoomed in?

For historical reasons, the default value of the <http://www.mathworks.com/help/matlab/examples/changing-text-properties.html te...

7年弱 前 | 0

| 採用済み

回答済み

Matlab R2012 - alpha in one axes causes clipping in another axes on the same figure

The renderer is shared by all of the axes in a figure. As you've noted, in R2012, you could only use transparency with the OpenG...

Matlab R2012 - alpha in one axes causes clipping in another axes on the same figure

The renderer is shared by all of the axes in a figure. As you've noted, in R2012, you could only use transparency with the OpenG...

7年弱 前 | 0

回答済み

Is there another way to plot a graph 3D without digraph ?

You'd be hard pressed to get all of the features of digraph's plot, but the <http://www.mathworks.com/help/matlab/ref/patch.html...

Is there another way to plot a graph 3D without digraph ?

You'd be hard pressed to get all of the features of digraph's plot, but the <http://www.mathworks.com/help/matlab/ref/patch.html...

7年弱 前 | 1

| 採用済み

回答済み

To define the axes for just one subplot colorabar

There are two different things you could mean here. One is that you want the colormap to start where the data = 0 and end wh...

To define the axes for just one subplot colorabar

There are two different things you could mean here. One is that you want the colormap to start where the data = 0 and end wh...

7年弱 前 | 0

| 採用済み

回答済み

imregionalmax to find peaks in 3d. I get an error Index exceeds matrix dimensions.

I'm just guessing, but that code snippet is assuming that x & y are full, 2D arrays. The mesh function allows for another case w...

imregionalmax to find peaks in 3d. I get an error Index exceeds matrix dimensions.

I'm just guessing, but that code snippet is assuming that x & y are full, 2D arrays. The mesh function allows for another case w...

7年弱 前 | 1

| 採用済み

回答済み

Is there a method to create a graph using adjacency matrix and plot the graph using custom coordinates.

The answer I gave to <http://www.mathworks.com/matlabcentral/answers/277484-constructing-a-bipartite-graph-from-0-1-matrix this ...

Is there a method to create a graph using adjacency matrix and plot the graph using custom coordinates.

The answer I gave to <http://www.mathworks.com/matlabcentral/answers/277484-constructing-a-bipartite-graph-from-0-1-matrix this ...

7年弱 前 | 2

| 採用済み

回答済み

How can I change the color of a single data point of a scatter plot by using handles?

No, the CData holds the colors of all of the points. So if there's just one color, that's going to be the color of all of the po...

How can I change the color of a single data point of a scatter plot by using handles?

No, the CData holds the colors of all of the points. So if there's just one color, that's going to be the color of all of the po...

7年弱 前 | 2

| 採用済み

回答済み

Coloring faces of isosurface corresponding to intensities in a 3D plot.

Yes, you want to set the FaceVertexCData property of the <http://www.mathworks.com/help/matlab/visualize/introduction-to-patch-o...

Coloring faces of isosurface corresponding to intensities in a 3D plot.

Yes, you want to set the FaceVertexCData property of the <http://www.mathworks.com/help/matlab/visualize/introduction-to-patch-o...

7年弱 前 | 1

| 採用済み

回答済み

How to find peaks in 3d mesh?

If your X & Y are monotone, and you have the Image Processing Toolbox, then the <http://www.mathworks.com/help/images/ref/imregi...

How to find peaks in 3d mesh?

If your X & Y are monotone, and you have the Image Processing Toolbox, then the <http://www.mathworks.com/help/images/ref/imregi...

7年弱 前 | 8

| 採用済み

回答済み

constructing a bipartite graph from 0/1 matrix

Perhaps something like this? % Make a random MxN adjacency matrix m = 3 n = 5 a = rand(m,n)>.25; % Expand out...

constructing a bipartite graph from 0/1 matrix

Perhaps something like this? % Make a random MxN adjacency matrix m = 3 n = 5 a = rand(m,n)>.25; % Expand out...

7年弱 前 | 8

| 採用済み

回答済み

How to plot a weighted graph?

Something like this? G=[1 4 0.2; ... 2 4 0.2; ... 3 4 0.2; ... 4 1 0.7; ... 4 2 0.7; ... 4 3...

How to plot a weighted graph?

Something like this? G=[1 4 0.2; ... 2 4 0.2; ... 3 4 0.2; ... 4 1 0.7; ... 4 2 0.7; ... 4 3...

7年弱 前 | 2

| 採用済み

回答済み

plot spheres in 3D with one color (no gradient)

A solid FaceColor alone isn't going to give you any feeling of the 3D shape of the spheres. If you take the edges away, you'll n...

plot spheres in 3D with one color (no gradient)

A solid FaceColor alone isn't going to give you any feeling of the 3D shape of the spheres. If you take the edges away, you'll n...

7年弱 前 | 0

| 採用済み

回答済み

Exporting a figure with transparent markers

Reaching inside the Line object and messing with its undocumented internals is not a supported operation for a variety of reason...

Exporting a figure with transparent markers

Reaching inside the Line object and messing with its undocumented internals is not a supported operation for a variety of reason...

7年弱 前 | 1

回答済み

could not create JOGL render

You can set the default renderer like this: set(groot,'DefaultFigureRenderer','painters') But I thought that error messa...

could not create JOGL render

You can set the default renderer like this: set(groot,'DefaultFigureRenderer','painters') But I thought that error messa...

7年弱 前 | 0

回答済み

Plot Lines Displaying As Black (Plus Gradient?)

Any chance this is an Intel GPU? That looks a lot like a bug we've seen in one of their recent driver updates. If so, there ...

Plot Lines Displaying As Black (Plus Gradient?)

Any chance this is an Intel GPU? That looks a lot like a bug we've seen in one of their recent driver updates. If so, there ...

7年弱 前 | 0

回答済み

plane interpolation in CFD data

So here's one fairly simple approach. First we need a model. I'll use this one because it ships with MATLAB. load tetmes...

plane interpolation in CFD data

So here's one fairly simple approach. First we need a model. I'll use this one because it ships with MATLAB. load tetmes...

7年弱 前 | 0

回答済み

Imshow not showing image on windows, but it works on mac

It sounds like you need a call to <http://www.mathworks.com/help/matlab/ref/drawnow.html drawnow>.

Imshow not showing image on windows, but it works on mac

It sounds like you need a call to <http://www.mathworks.com/help/matlab/ref/drawnow.html drawnow>.

7年弱 前 | 0

回答済み

Slow plotting performance starting from Matlab R2014b

The difference between the two versions is really a bit too complex to capture in a single number. I've been going into some of ...

Slow plotting performance starting from Matlab R2014b

The difference between the two versions is really a bit too complex to capture in a single number. I've been going into some of ...

7年弱 前 | 1

| 採用済み

回答済み

Changing width of color bar and re-positioning it in movie frames

I think that the colorbar and axes positions aren't really stable at the point that you're changing the Position. Possibly becau...

Changing width of color bar and re-positioning it in movie frames

I think that the colorbar and axes positions aren't really stable at the point that you're changing the Position. Possibly becau...

7年弱 前 | 0

| 採用済み

回答済み

Setting plot axis defaults not consistent

That's because XMinorGrid is one of those things that some plotting functions want to set one way and some want to set another w...

Setting plot axis defaults not consistent

That's because XMinorGrid is one of those things that some plotting functions want to set one way and some want to set another w...

7年弱 前 | 2

| 採用済み

回答済み

display rectangle on top of plotyy

The first return value from plotyy (axh in your case) is an array of two handles. Try putting the rectangle in the other one. In...

display rectangle on top of plotyy

The first return value from plotyy (axh in your case) is an array of two handles. Try putting the rectangle in the other one. In...

7年弱 前 | 0

| 採用済み

回答済み

Give a range of Z axis instead of X and Y when graphing a surface

The new <http://www.mathworks.com/help/matlab/ref/fsurf.html fsurf function>, introduced in R2016a, is probably a good choice he...

Give a range of Z axis instead of X and Y when graphing a surface

The new <http://www.mathworks.com/help/matlab/ref/fsurf.html fsurf function>, introduced in R2016a, is probably a good choice he...

7年弱 前 | 0

回答済み

how to connect lines in a 3D plot ?

It's only drawing that connection because you didn't "lift the pen" between drawing the two platforms. You haven't told plot3 an...

how to connect lines in a 3D plot ?

It's only drawing that connection because you didn't "lift the pen" between drawing the two platforms. You haven't told plot3 an...

7年弱 前 | 0

回答済み

Default Text Size in Legends

A couple of things going on here. First, before R2014b a legend was an axes, so they shared the same defaults. Starting in R...

Default Text Size in Legends

A couple of things going on here. First, before R2014b a legend was an axes, so they shared the same defaults. Starting in R...

7年弱 前 | 3

回答済み

MATLAB Legend Icon Colors

That sounds like <http://www.mathworks.com/support/bugreports/1283854 bug 1283854>. If so, it's fixed in R2016a, and there is a ...

MATLAB Legend Icon Colors

That sounds like <http://www.mathworks.com/support/bugreports/1283854 bug 1283854>. If so, it's fixed in R2016a, and there is a ...

7年弱 前 | 2

| 採用済み

回答済み

How do I create a correct Z matrix from a 'one-value-per-participant' variable for contour plot?

Functions like contour want gridded data, and you have scatter data. You'll need to do a gridding operation to convert your data...

How do I create a correct Z matrix from a 'one-value-per-participant' variable for contour plot?

Functions like contour want gridded data, and you have scatter data. You'll need to do a gridding operation to convert your data...

7年弱 前 | 0

回答済み

How do I plot MSE of 3D-values?

Those plots would be created by the <http://www.mathworks.com/help/matlab/ref/surfc.html surfc function>, but it wants gridded d...

How do I plot MSE of 3D-values?

Those plots would be created by the <http://www.mathworks.com/help/matlab/ref/surfc.html surfc function>, but it wants gridded d...

7年弱 前 | 0

回答済み

How to have a discrete color bar for scatter3?

You want to use the <http://www.mathworks.com/help/matlab/ref/colormap.html colormap function> to tell the axes what colors you ...

How to have a discrete color bar for scatter3?

You want to use the <http://www.mathworks.com/help/matlab/ref/colormap.html colormap function> to tell the axes what colors you ...

7年弱 前 | 2

| 採用済み

回答済み

Figure not updating with new colormap

You don't have anything in that figure that uses the colormap. The plot function uses the <http://www.mathworks.com/help/matlab/...

Figure not updating with new colormap

You don't have anything in that figure that uses the colormap. The plot function uses the <http://www.mathworks.com/help/matlab/...

7年弱 前 | 1

| 採用済み

回答済み

Contour plot cutting off surface value?

We don't have access to your data, so we can only guess, but ... When you say that increasing the grid resolution makes the c...

Contour plot cutting off surface value?

We don't have access to your data, so we can only guess, but ... When you say that increasing the grid resolution makes the c...

7年弱 前 | 0