Respondida

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...

casi 7 años hace | 0

| aceptada

Respondida

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...

casi 7 años hace | 0

Respondida

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...

casi 7 años hace | 1

| aceptada

Respondida

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...

casi 7 años hace | 0

| aceptada

Respondida

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...

casi 7 años hace | 1

| aceptada

Respondida

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 ...

casi 7 años hace | 2

| aceptada

Respondida

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...

casi 7 años hace | 2

| aceptada

Respondida

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...

casi 7 años hace | 1

| aceptada

Respondida

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...

casi 7 años hace | 8

| aceptada

Respondida

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...

casi 7 años hace | 8

| aceptada

Respondida

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...

casi 7 años hace | 2

| aceptada

Respondida

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...

casi 7 años hace | 0

| aceptada

Respondida

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...

casi 7 años hace | 1

Respondida

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...

casi 7 años hace | 0

Respondida

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 ...

casi 7 años hace | 0

Respondida

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...

casi 7 años hace | 0

Respondida

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>.

casi 7 años hace | 0

Respondida

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 ...

casi 7 años hace | 1

| aceptada

Respondida

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...

casi 7 años hace | 0

| aceptada

Respondida

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...

casi 7 años hace | 2

| aceptada

Respondida

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...

casi 7 años hace | 0

| aceptada

Respondida

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...

casi 7 años hace | 0

Respondida

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...

casi 7 años hace | 0

Respondida

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...

casi 7 años hace | 3

Respondida

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 ...

casi 7 años hace | 2

| aceptada

Respondida

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...

casi 7 años hace | 0

Respondida

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...

casi 7 años hace | 0

Respondida

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 ...

casi 7 años hace | 2

| aceptada

Respondida

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/...

casi 7 años hace | 1

| aceptada

Respondida

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...

casi 7 años hace | 0