Community Profile

photo

HC98


Last seen: 20 days ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


imagesc Vs pcolor Vs contourf for large arrays?
I have an array that’s 32000x1001 and want to plot it using one of the listed functions. As you’d expect they all take a very lo...

30 days ago | 1 answer | 0

1

answer

Question


How to speed up pcolor and waterfall for large arrays?
I have an array of size 32000x1000 and when I run the pcolor or waterfall function (I’ve also tried contour) it takes AGES. like...

1 month ago | 1 answer | 0

1

answer

Question


Highlight Specific Contour Levels of a 2D array
I follow the example of the documentation here and I get stuck because I have an array called ``simdata`` which is 100 x 3200. I...

1 month ago | 1 answer | 0

1

answer

Question


Exporting high res pcolor to eps bugs out
I have a high resolution pcolor plot produced with about 1000 intervals on the y-axis. I'm trying to export it to eps with pri...

2 months ago | 1 answer | 0

1

answer

Question


Normalize axis scale for annotations
I want to label a simple plot for some notes: hf = figure; x = -180:180; f = @(x) 0.09*sech(-x/18); plot(x, f(x)); ha = an...

2 months ago | 1 answer | 0

1

answer

Question


Adding a label with text on a plot
I have a plot of some data and I want to highlight one of its distinct peaks like this: Is there any way that I can do this?...

2 months ago | 1 answer | 0

1

answer

Question


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 months ago | 2 answers | 0

2

answers

Question


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

3 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

6 months ago | 1 answer | 0

1

answer

Question


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

7 months ago | 2 answers | 0

2

answers

Question


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

8 months ago | 2 answers | 0

2

answers

Question


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?

9 months ago | 1 answer | 0

1

answer

Question


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?

10 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 2 answers | 0

2

answers

Question


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

10 months ago | 1 answer | 0

1

answer

Question


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)'

10 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 2 answers | 0

2

answers

Question


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

11 months ago | 2 answers | 0

2

answers

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

11 months ago | 0 answers | 0

0

answers

Question


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

11 months ago | 2 answers | 0

2

answers

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

12 months ago | 2 answers | 0

2

answers

Question


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

12 months ago | 1 answer | 0

1

answer

Load more