Community Profile

# HC98

Last seen: 13 dagar ago Active since 2018

Followers: 0   Following: 0

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

23 dagar ago | 1 answer | 0

### 1

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

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

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

### 1

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

### 1

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

### 1

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

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

### 1

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

### 1

Question

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

### 1

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

### 1

Question

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

### 2

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

### 2

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?

### 1

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?

### 1

Question

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

### 1

Question

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

### 2

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

### 1

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

### 1

Question

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

### 2

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

### 2

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

### 1

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

### 1

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

### 1

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

### 1

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

### 0

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

### 2

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

### 1

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