Community Profile

photo

HC98


Last seen: 1 día hace Con actividad desde 2018

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


How to get a set aspect ratio of 4:3 on a figure?
I want to plot 2 things side by side but at a fixed aspect ratio of 4:3. Is there a way to do this?

2 días hace | 2 respuestas | 0

2

respuestas

Pregunta


Subplot with 2 stacked plots but bottom is split in 3 vertically
So Something like this So Something like this clearvars x = -10:0.01:10; y = cos(x); figure(1) subplot(2,2,[1 2])...

alrededor de 1 mes hace | 1 respuesta | 0

1

respuesta

Pregunta


How to neatly exclude values from a plot?
I'm plotting 2 functions: eta, feta. What I want to do is plot feta for values between 0, 0.5, 0.7, 0.8, 0.95 and exclude the re...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Side by side subplots with one split into 3
How might I create a layout that looks like this

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Why are my EPS figures not vectorised in LaTeX?
I'm exporting figures in MATLAB using print -painters -depsc << FIGNAME >>.eps And when I load the resulting eps into LaTeX, ...

4 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Adding labels to plots with LaTeX syntax
I was wanting to do something like this But I'm not sure

5 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


why does conv2 increase z height?
I want to smooth a jagged 3D plot and I thought using blurredImage = conv2(data, ones(15), 'same'); would help but the conv2 ...

6 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Creating a custom plot layout with data from multiple sources
I have a rough idea in my mind how to create this but I was wondering how to put it in practice?

7 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


adding lines to a contour plot with labels
I want to produce something like this But I'm not sure how- how might one add lines and labels to contor plots?

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


stacked plots with contour- custom lsyout
How might I produce sumething like this?

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Breaking the axis of plots
How can I do something like this in MATLAB without using any external pagkages or functions? Thanks

8 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


smoothing the shading of pcolor plots
I'm preparing some plots for a presentation and no matter which options I combine, my pcolor plot is always really jagged and no...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


another crazy plot layout with zoomed portions and arrows
Hi, so I'm writing some lecture notes and want to show how to do this For our purposes let's just suppose 'f(x) = exp(-x)'

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


subplot with 1 large and 2 small figures
Is it possible to create a subplot like this? I.e., % | 1 | % |________| % | 2 | 3 | % | | |

8 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Shifting a line on the x-axis ONLY
I have function q = [0:0.01:2]; plot(20*q.^2, q.^2) It's just a straight line. I want to move it from x = 0 to x = -50. I tri...

9 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Storing numbers with lots of decimal places in arrays
I'm mmeasring some quantities using an analysis script and appending each one to a dummy array manually with amplitude = [NaN,...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Breaking the axis of plots (without external packages etc)
Is there a simple way to break the axis of my plot without falling a function from the mathworks public package repository etc? ...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Plotting arrays with different sizes
I want to plot a function where the arrays are different sizes gamma = [1, 1.2, 1.4, 1.6, 1.8, 2]; x = [0:0.01:2000]; b = 349...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


using copyfile to copy the FOLDER AND its CONTENTS, i.e., preserve the folder
In linux one cna use rsync to copy the folder with its contents inside to another diretory. unfortucately, when I use copyfile, ...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Linux and MATLAB: Segmentation fault (core dumped)
Every time I go to launch my code using matlab -batch <filename> I get Segmentation fault (core dumped) Anny ideas? I'...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


Bringing plots to the "front" to make them more visible?
I'm plotting 2 quantities: I'm plotting a seried of values and overlaying the mean on top. The trouble is, the mean line is ...

9 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Plot formatting: including zoomed in regions
So I know how to create a separate set of axes on the plot using % create smaller axes in top right, and plot on it axes('Pos...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Shifting an array without circshift
I want to shift an array and whilst circshift generally works, I encounter errors with certain configs. Is there a way to shift ...

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Determining the amplitude of peaks on a slowly changing signal?
So as we all know, findpeaks will return the value of a peak using, e.g., [pks locs] = findpeaks(data, x); My question is, ho...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Positioning Axes using arrays
I have this simple code % create smaller axes in top right, and plot on it axes('Position', [.32 .22 .25 .15]) box on plot(...

10 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Optimising my data importer for large datasets
So I have this txtFiles = dir('*.txt') ; %loads txt files N = length(txtFiles) ; Numit = N; [~, reindex] = sort( str2dou...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


3 subplots with the bottom one split in 2 vertically?
I want to produce a figure with 3 stacked plots where the bottom one is split in half vertically, how might I do this? TIA

11 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


How to set default axes tick using groot?
I tried to set axis tick using set(groot,'XMinorTick','on','YMinorTick','on') But it gives an error. any idea how to fix?

12 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Finding peaks greater than a set value
I'm using for h2 = 1:size(udata,1); [pks,locs] = findpeaks(udata(h2, :), x); pksc{h2,:} = pks; ...

alrededor de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


How can I rewrite this to get peak locations?
I have this amps = arrayfun(@(h2) max((findpeaks(udata(h2, :), x) < 0.99)... .* findpeaks(udata(h2, :), x)), 1:size(udata...

alrededor de 1 año hace | 2 respuestas | 0

2

respuestas

Cargar más