Risposto

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

circa 8 anni fa | 1

| accettato

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 1

| accettato

Risposto

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

circa 8 anni fa | 0

| accettato

Risposto

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

circa 8 anni fa | 1

| accettato

Risposto

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

circa 8 anni fa | 3

| accettato

Risposto

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

circa 8 anni fa | 2

| accettato

Risposto

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

circa 8 anni fa | 1

| accettato

Risposto

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

circa 8 anni fa | 9

| accettato

Risposto

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

circa 8 anni fa | 8

| accettato

Risposto

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

circa 8 anni fa | 3

| accettato

Risposto

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

circa 8 anni fa | 0

| accettato

Risposto

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

circa 8 anni fa | 1

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 1

| accettato

Risposto

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

circa 8 anni fa | 0

| accettato

Risposto

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

circa 8 anni fa | 3

| accettato

Risposto

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

circa 8 anni fa | 0

| accettato

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 4

Risposto

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

circa 8 anni fa | 2

| accettato

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 0

Risposto

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

circa 8 anni fa | 2

| accettato

Risposto

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

circa 8 anni fa | 1

| accettato

Risposto

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

circa 8 anni fa | 0