# Alexei M

Last seen: 3 years ago Active since 2016

Followers: 0   Following: 0

#### Feeds

View by

Question

structure is pointlessly nested within itself when I save it. How to unnest?
Maybe kind of a stupid question, but I had a structure saved to disk--let's call it data1.mat. My script would have a few lines ...

4 years ago | 2 answers | 0

### 2

Question

What exactly is this 3D object inside my axis and how to attach it to a colormap?
I have a figure that was generated by a collaborator, and it's a result of some kind of integration with COMSOL, a software for ...

4 years ago | 2 answers | 0

### 2

Question

How to copy colormap from an existing image
I have an image that came from an imaging software that already comes complete with its own color bar. Below is an example so yo...

4 years ago | 2 answers | 0

### 2

How to plot 3D data as a 2D color plot (with axes representing parameter values)?
I figured it out. Using pcolor works like a charm. The pcolor function directly translates the intuitive relationship between...

5 years ago | 3

| accepted

Question

How to plot 3D data as a 2D color plot (with axes representing parameter values)?
Using the imagesc function I can get a figure that looks like this: However, the problem is the axes: the numbers simply list...

5 years ago | 2 answers | 1

### 2

Question

Vertical line refuses to plot after tweaking YLim slightly. Why??
I have working code that draws vertical lines on a plot. Here's the line of code to first create the initial plot: h = figure;...

5 years ago | 1 answer | 0

### 1

Question

How to structure/sort x,y,z data for surf, mesh, etc types of plots?
I'm confused conceptually about how and why my data needs to be organized to make a 3D surface plot, when I start with 3 vectors...

7 years ago | 2 answers | 0

### 2

Question

Is it necessary to clear variables before writing the same variable (updated contents) to workspace?
Kind of a silly question about a very fundamental thing. I forgot if Matlab _always_ completely overwrites a variable if I reass...

7 years ago | 0 answers | 0

### 0

Broken GUI: Why does the button callback code work if I copy/paste in debugger but errors in regular runtime?
Ahh I figured it out! Sorry to pollute cyberspace with possibly not very useful info, but the problem was that I was changing di...

7 years ago | 0

| accepted

Question

Broken GUI: Why does the button callback code work if I copy/paste in debugger but errors in regular runtime?
I've been building/coding a GUI (using GUIDE). At some point I "forked it". That is, my Sensor_Analysis.fig & .m files are now S...

7 years ago | 2 answers | 0