Question

Multiple X-Axes with separate scales and xlabels

Hello, I am trying to make a figure with two x-axes, and I want each axis to have a separate scale because they represent dif...

8 months ago | 1 answer | 0

Question

Make white portions of slice of flow data transparent

I have created this figure (one of five) with the code (I have edited it for the question) below. I would like to make the wh...

8 months ago | 1 answer | 0

Question

Change portion of text color in matlab label

I know that it is possible to change the color of a label in a figure in matlab from the default black to another color. I have ...

10 months ago | 2 answers | 0

Question

Shade the region between a curve and the vertical axis

I have several velocity profiles in a figure, and I've been trying to play around with the area function to try and shade the re...

11 months ago | 1 answer | 0

Question

Error using latex in colorbar title

Hello, I'm trying to make my color bar have a title, and I want to give it a math equation. Here is my code. cbh = findall(fh,...

12 months ago | 1 answer | 0

Question

Put block behind colorbar

I have several contour plots on a cylinder that I made in MatLab. In some of them the black text from the colorbar is obstructed...

1 year ago | 1 answer | 0

Answered

integral of contour plot

You can calculate the circulation using the bounds of a contour in 2018b. I completed this on cylindrical slices for my purpose...

integral of contour plot

You can calculate the circulation using the bounds of a contour in 2018b. I completed this on cylindrical slices for my purpose...

1 year ago | 0

Question

Draw contourslice on patch surface

I am trying to get the XData and YData on a contourslice in matlab. I want this contourline to be on a patch that I have already...

1 year ago | 1 answer | 0

Question

Plotting semilogy on two axes covering the same range, one side is log the other is not.

I'm trying to make a figure with two vertical log axes, and the horizontal x axis still be linear. I need to compare plots who c...

1 year ago | 1 answer | 0

Question

Problem solving system of nonlinear equations with fsolve trying to change inputs

I am trying to solve a system of six nonlinear equations using fsolve (see below). There are additional parameters in my equatio...

1 year ago | 0 answers | 0

Question

How to grab field data from the intersection of two slices

Hi, I have velocity field data in a NxMxP array, and I would like to find the values of the data at the intersection of two sur...

2 years ago | 0 answers | 0

Question

Getting 'Argument must contain string error' error when saving, it's always worked before

Here is a short piece of my code. queue = '\Q0'; Case = '\02'; path = 'D:\Data'; folder4Mfiles = strcat(path,'\Raw',queue,Ca...

2 years ago | 1 answer | 0

Question

interp and interp3 give different size arrays

If I start with the following two arrays x0 = 1:100; y0 = 1:80; z0 = 1:100; and I make a mesh grid with them [...

2 years ago | 1 answer | 0

Question

Draw contour data on slice with a patch

I'm having trouble making a contour of my volume data on a plane with specified coordinates designed for patch. I have 5 slic...

2 years ago | 0 answers | 0

Question

Replace portion of array with another array of different size

I have this grid A = 0:0.01:1; And I want to refine the grid but only in a small part where some interesting things happ...

2 years ago | 1 answer | 0