Pregunta


How to set the proper papersize?
I would like to use: figure('units','normalized','outerposition',[0 0 1 1]); to see my figures in the largest size on my scr...

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to set legend for a line segment?
How to add legend to this?: line([x1 x2],[y1,y2],'color','r','linestyle','--');

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to plot/generate properly displayed thick arrows?
My problem is that annotated arrows with thickness are displayed very poorly and the saved pdf is still totally bad.

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to generate vectorgraphic pdf from MATLAB?
My problem is that saveas and print generates different outputs, and saving from the figure window results also totally differen...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Anyone know how to display the degree symbol?
Anyone know how to display the degree symbol ° in a text object on a plot? I've tried both solutions: http://www.mathworks.com...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to put xlabel text in two rows but with different font size?
Is it possible to put xlabel text in two rows but with different font size?

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to load data without reloading?
I would like to load variables from a .mat file, but just those ones which are not loaded before. It is possible not overwrite t...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to do scatter plot with markers with dashed outlines?
Is it not possible?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I have to write this down twice?
X(i1:i2) = X(i1:i2) - const; Do I have to use X(i1:i2) twice in the line to achieve the result above?

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to this shorter? max two lines?
[t1 t2 t3 t4 t5] = deal(0.6,2.0,0.5,2.5,15); n_values = round([t1 t2 t3 t4 t5]/dt); % temp variable [n1 n2 n3 n4 n5] = d...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


is it allowed to update the cycle variable?
% for example: for i = 1:N i = i +3; end

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What is this error message?
I get the following error message after a while in command/terminal mode (2013b): log4j:WARN No appenders could be found for ...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to shuffle two vectors?
What is the simplest way to shuffle two vectors? It is possible to do it in one line? from u and v I want: [u(1),v(1),u(2),v(...

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


how to get struct array field as a vector?
I have a struct array, and a field like data.age and I want to get the ages as a vector v for which I can write for example : v(...

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


how to initialise field name of struct array?
I want to set some fields of a struct array, like .name .age .id then I want to put data in one line. Is it possible to do some...

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to save both data and functions into a .mat file?
Is it possible to save both data and functions into the same .mat file?

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


how to initialise a struct array with pairs?
I want to keep pairs next to each other during initialisation. The result what I want is something like this: data(1...

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


How to do the following in one line?
data = data(data>xmin); data = data(data<xmax); This is not working: data = data(data>xmin && data<xmax);

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to save high resolution jpg with the saveas command?
Is it possible to save high resolution jpg (or png, tiff) with the saveas command? How to set the resolution?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get absolute aspect ratio of a figure?
How to get absolute (in screen pixel units) aspect ratio of an existing figure window? or the plotting area?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to force xtick to be visible everywhere?
Is it possible to force xtick layer goes on top of the plot, so the plot cannot cover xticks?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use bar plot without outlines?
I don't want to make the outlines invisible, but I want the width to be zero, however the description says that LineWidth has to...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to rotate histograms?
How to plot histogram on the y-axis?

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to change axes during a for cycle?
I would like to make a figure and show the axes and tics without any plot at this moment. After that I would like to plot sever...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to create axes without any connection to the current plot?
I would like to create/define axes to use it later, and do something like this: ax = axes('Position',[0,0,0.1,0.1],'Visible',...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why makehgtform creates 4x4 matrices? Why not 3x3?
I cannot found the answer on its description page. Why? This is so obvious??

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to apply a transformation with makehgtform()?
I would like to learn how to apply transformations with makehgtform(). This is toy example: % Create a red octagon using th...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Whats wrong with the following commands?
% The plotted x-axis goes from 0 to 1, instead of 20. Why? ax = gca; ax.xlim = [0 20]; drawnow

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to use string cells as marker types?
scatter([1],[1],20,'filled','o'); is working, but the following not: markers = {'o','s','d'}; scatter([1],[1],20,'f...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


is it possible to shift and resize a plot in the figure without using subplot?
I would like to shift and resize a plot relative to the whole figure.

más de 10 años hace | 1 respuesta | 0

1

respuesta

Cargar más