# Mathan

Last seen: 18 dagen ago Active since 2022

Followers: 0   Following: 0

#### Feeds

View by

Question

Geoshow with MLT instead of longitude
Hi all, I was trying plot energy distribution of ions as a Latitude-magnetic local time (MLT) plot above Antartica. I have the...

7 maanden ago | 1 answer | 0

### 1

Question

Overplotting of scatter points on top of coastlines
Hi all, I am having a hard time figuring out how to plot a scatter plot on top of a worldmap without obscuring the coastlines. ...

7 maanden ago | 2 answers | 0

### 2

Question

Linear fit in loglog plot
Hi all, So I was trying to fit a spectrum using 3 piecewise linear fits by using least-squares method. Instead of using polyfit...

8 maanden ago | 1 answer | 0

### 1

How to find the index of the first element which is greater than a particular value in a matrix for all the columns.
[no_row,no_col] = size(c); Index_final = []; for ii = 1:no_col Index =[]; for jj=1:no_row if c(jj,ii...

ongeveer 2 jaar ago | 0

Question

Plotting filled contours on top of worldmap
Hi all, I was trying to plot a filled contour on top of a worldmap but for some reason one of the values seem to be drawn all o...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Is it possible to go through the elements of an array without resorting to length in a for loop?
Was just thinking whether there is something similiar to the below 'for loop of python a=[1,2,3]; for i in a: if i>2: ...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

Storing values from inside the third loop to a variable outside the loops
Hi all, Is it possible to store values from the inside of a third for loop into a variable which is outside the loops? For inst...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Saving the output figures using saveas() as full sized images
Hi all, I was trying to save the output plots directly into my present directory using the saveas() command. Even though it sav...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Removing pages with all nan values from a multidimensional array
Is there any way to remove pages containing all nan values from a multidimensional array. Say I have this multidimensional array...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Showing legend even if data is not there
Hello, Could anyone point out what I am doing wrong in the below code (I am trying to show all the legend entries even if there...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Giving different colors in skyplot when default colors repeat
Thank you once again.

ongeveer 2 jaar ago | 0

Question

Giving different colors in skyplot when default colors repeat
Hi all, I was trying to get a skyplot for 15 different satellites but it seems that the colors in the legend is repeating. I ac...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

Plotting satellite elevation and azimuth using skyplot
Hello, I was trying to plot satellite elevations and azimuths (which are 210 x 3 matrices) using skyplot. I referred to https:/...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

Colorbar with equal ticks between two power exponentials
Hello, I wanted to show a colorbar with values corresponding to equal step sizes of a certain number that is an exponent of 10 ...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

Cannot use find() inorder to find the index of a time in datetime array
Hello, I was trying to find the index of a particular time having datetime format (attached here as time.mat). I tried the usua...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

Is there any way to plot values that are exponent multiples of 10 as colorbar directly without having to take their log
I was trying to plot 3 variables (depth, height, particles - these are attached as .mat files) with depth along the x axis, heig...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

Plotting powers of 10 on the colorbar
Hello, Is there any way to have powers of 10 (like 1e5, 1e6, 1e7) to be plotted on the colorbar as tickmarks without resorting ...

meer dan 2 jaar ago | 2 answers | 0

### 2

Question

Why reshaping the matrix gives entirely different plots while using pcolor()
Hello, I was trying to plot 3 variables with two of them representing the X and Y axes while the third one is used to denote th...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

Title for a color bar
Hi, I have been trying to add title to my colorbar using the following lines of code: col=colorbar; colorbar('XTickLabel', ...

meer dan 2 jaar ago | 1 answer | 0