Question

How to add transparency to a dendrogram

Hi. How to add a tranparency to a dendrogram? % example X = rand(10,3); tree = linkage(X,'average'); dendrogram(tree) T...

8 mois ago | 1 answer | 0

Question

4d plot in order to create a surface with density from 4 vectors ( coordinates of the dots). X, Y, Z and C is the color.

Hi, I wanto to create a 4d plot, like isosurface. The data is attached. 4 vectors, xyz and color. The problem is that I only ...

11 mois ago | 2 answers | 0

Question

Create a 3D object contour surface with x y z and color vector

Hi I have a 3d object with different variations in its density along the interior. How can I create a 3d contour plot like i...

11 mois ago | 0 answers | 0

Question

Cube Surface plot from an experimental design

Hi, Please could you help me in the following problem? I need to create a 3d cube response surface from a experimental design...

presque 2 ans ago | 0 answers | 0

Question

textscan in all columns for the first row

Hi, I am having dificulties to read (load) a single row of a random size file. Please, how can I do it? For ie. I would like...

presque 2 ans ago | 1 answer | 0

Question

Bar plot has no color edge with many bars even if I add the argument

Hi, I am doing a stacked barplot with 86 bars and I want the color edge as black, but even if I am adding ther argument I dont...

presque 2 ans ago | 0 answers | 0

Question

More efficient way to insert a push button in a figure and run a function or a command.

Hi, I wrote the following function to plot x and y and when you press a button it calls the ginput of 2 coordinates and inserts ...

presque 2 ans ago | 1 answer | 0

Question

Subplots are not aligned when using boxplot. Why? Possible bug?

Hi, I am doing a series of subplot and they are not vertical aligned. They are losing the alignment, Why? Please <</matlabce...

environ 2 ans ago | 1 answer | 0

Question

Problem related to locked axis.

I am having a problem related to the locked axis. I have a figure with a plot i.e. sin(x). Then I MANUALLY zoom in on an intere...

presque 3 ans ago | 1 answer | 0

Question

Save a figure in pdf that is possible to zoom in like .fig file.

I have de figure below. It is a HCA with more than 4000 samples. Is it possible to save a figure in pdf that will be able to zo...

presque 5 ans ago | 1 answer | 0

Question

How can I get the values for the distances between samples in a HCA

Let´s consider we have the folowing HCA data = randi(1000,10,30); HCA_Number_of_Clusters=3; dist = pdist(data, 'eucl...

environ 5 ans ago | 0 answers | 0

Question

Problem to save a variable to a .mat file

When I try to save my workspace i got this message Warning: Variable 'Colunas2D' cannot be saved to a MAT-file whose v...

plus de 6 ans ago | 2 answers | 0

Answered

Reduce the size of a vector

This is what I wanted...Thank you guys a=resample(b, 45001,36001);

Reduce the size of a vector

This is what I wanted...Thank you guys a=resample(b, 45001,36001);

plus de 6 ans ago | 2

| accepted

Question

Reduce the size of a vector

I wanto to convert a vector 1x45000 to a vector 1x36000 and a vector of 1x27000 to a vector 1x36000 How can I do it?

plus de 6 ans ago | 2 answers | 1

Question

Change the color label of a single (or multiple variable)s in the HCA dendrogram plot

Hi Guys, i have this situation: dendrogram(link , 0,'labels', names,'colorthreshold', color,'orientation','right') ...

plus de 6 ans ago | 0 answers | 0

Question

How can I plot an image in matlab. This is giving me a Black png image!

URL ='http://structures.wishartlab.com/molecules/HMDB00126/image.png' filename='test.png' urlwrite(URL,filename) [y,z...

presque 7 ans ago | 2 answers | 0

Question

How can I plot an image centering in a branch ( or "arm" or bracket) of a dendrogram?

I would like to plot several images each one centered in the branch of the same dendrogram, so for a branch(call like this is co...

presque 7 ans ago | 0 answers | 0

Question

Can I label a dendrogram with an image?

I was wondering that if I can label a dendrogram with a image instead numbers or strings?

presque 7 ans ago | 0 answers | 0

Answered

How to do a Quiver plot between two data sets?

D=P2-P1 figure for k=1:length(P1); hold on; quiver(P1(k,2), P1(k,1), D(k,2),D(k,...

How to do a Quiver plot between two data sets?

D=P2-P1 figure for k=1:length(P1); hold on; quiver(P1(k,2), P1(k,1), D(k,2),D(k,...

presque 8 ans ago | 0

| accepted

Question

How to do a Quiver plot between two data sets?

How i make a quiver plot between each dot in the same line dot P1(1,:) with P2(1,:); P1(2,:) with P2(2,:) and on.... P...

presque 8 ans ago | 1 answer | 0

Question

Plot values exception [x1 x2 x3 ...]

I have x=1:100 and xx=[2 5 8 13 14 25 46 78 97 99] (whatever) How to plot(x, '.b') (or scatterplot) to suppress xx values on...

presque 8 ans ago | 1 answer | 0

Question

Can I create a standalone(compiler) using matlab under the windows to run in a mac pc?

Can I create a standalone using matlab under the windows to run in a mac pc?

environ 8 ans ago | 1 answer | 0

Question

sum error

Why i got this error? shiftedC=-0.4 ??? Error using ==> plus Matrix dimensions must agree. Error in ==> reco...

plus de 8 ans ago | 1 answer | 0

Question

Store a variable in a loop

How 1 store a variable in this loop for i=[0 0.01 0.5 0.6 1 1.2 1.5] stored(i, 1)=1+i end best regards

plus de 8 ans ago | 1 answer | 0

Question

Quiver plot between 2 dots.

How to plot a quiver between P1=[ 0.85 4.87] P2=[ 0.88 4.88] best regards

plus de 8 ans ago | 1 answer | 0

Question

Dealing with plots, manipulation of the axis and the view

i have the folow data solvente=[5483 554 4012 69 776 64 939 74 1112 13 254 24 934 85 1121 13 242 21 1735 158 1140 23 2...

presque 9 ans ago | 1 answer | 0

Question

Storage of a loop from negative number

How i can storage a loop from negative number For example I have the below loop for x=-1.5:0.01:1.5 for y=-1.5:0.01:1.5...

presque 9 ans ago | 3 answers | 0

Answered

Wish-list for MATLAB Answer sections.

To save, to mark or put on a favorite folder answers (from other peoples) that you think that is interesting to you.

Wish-list for MATLAB Answer sections.

To save, to mark or put on a favorite folder answers (from other peoples) that you think that is interesting to you.

presque 9 ans ago | 0

Question

Use a textscan to read information from a mass spectra file

How a create a function to do a textscan, to read and organizate the values. SPECTRUM - MS,Freire_CBA25_esineg20V_1...

environ 9 ans ago | 1 answer | 1