Answered

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

ongeveer 7 jaar ago | 0

| accepted

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 1

| accepted

Answered

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

ongeveer 7 jaar ago | 0

| accepted

Answered

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

ongeveer 7 jaar ago | 1

| accepted

Answered

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

ongeveer 7 jaar ago | 2

| accepted

Answered

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

ongeveer 7 jaar ago | 2

| accepted

Answered

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

ongeveer 7 jaar ago | 1

| accepted

Answered

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

ongeveer 7 jaar ago | 9

| accepted

Answered

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

ongeveer 7 jaar ago | 8

| accepted

Answered

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

ongeveer 7 jaar ago | 3

| accepted

Answered

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

ongeveer 7 jaar ago | 0

| accepted

Answered

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

ongeveer 7 jaar ago | 1

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 1

| accepted

Answered

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

ongeveer 7 jaar ago | 0

| accepted

Answered

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

ongeveer 7 jaar ago | 2

| accepted

Answered

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

ongeveer 7 jaar ago | 0

| accepted

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 4

Answered

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

ongeveer 7 jaar ago | 2

| accepted

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 0

Answered

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

ongeveer 7 jaar ago | 2

| accepted

Answered

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

ongeveer 7 jaar ago | 1

| accepted

Answered

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

ongeveer 7 jaar ago | 0