photo

John Cruce


Last seen: 2 months ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Shapefile or KML from 2d Matrix
I created a two-dimensional matrix (720, 1440) of global temperatures based on 0.5 degree latitude/longitude. I'd like to make a...

7 months ago | 0 answers | 0

0

answers

Question


Counting number of elements less than value across 2d matrix
I have a two-dimensional matrix of numbers size A(720,1440). I'd like to calculate the percent of values in part of the matrix -...

7 months ago | 1 answer | 0

1

answer

Question


Custom colorbar labeling centered on colors
I have a figure for which I want to create custom colorbar labeling. Below is the sample code: figure; set(gca,'xtick',[],'xti...

7 months ago | 2 answers | 0

2

answers

Question


Best cloud solution for Individual MATLAB license?
I'm currently running an Individual MATLAB license on Windows desktop. I'm running into an issue with storage for data used when...

7 months ago | 1 answer | 0

1

answer

Question


Rank value matrix from 3d Matrix
I have a 3d matrix of average global temperatures (0.5 degree lat/long) for 42 years (42×720×1440). For a given year (say year 4...

7 months ago | 2 answers | 0

2

answers

Question


Ranking Strategy for Large Temperature Dataset
I have a large dataset of daily global temperatures for 43 years. Imagine a 43x365x720x1440 matrix (43 years, 365 days, 0.25 deg...

8 months ago | 1 answer | 0

1

answer

Question


Move colorbar closer to figure?
I have a colorbar with no title that I need to move closer to my figure to reduce padding/white space between the figure and the...

9 months ago | 1 answer | 0

1

answer

Question


Reducing line spacing between multiline figure title
I have a multiline figure title with larger text on top. I'm trying to reduce the white space between text lines so that the two...

9 months ago | 1 answer | 0

1

answer

Question


Adding text below southoutside colorbar labels
I'm wanting to add a small disclaimer text line under the colorbar of my figure. The figure is a projected map with my colorbar ...

9 months ago | 1 answer | 0

1

answer

Question


Reshape 1D to 3D array
I have a 1D array (365x1) that I need to reshape into a 3D array (365x1x1) to divide into 3D array (365x721x1440). What's the mo...

1 year ago | 1 answer | 0

1

answer

Question


Adding 2D array to 3D array within loop
I have a 3d array of zeros size (365,721,1440). I'm iterating through a for loop to add from array (721,1440) to the 3d array fo...

1 year ago | 2 answers | 0

2

answers

Question


Remove colorbar border but keep tick labels
I'm needing to remove the outline around my colorbar. When I set the colorbar edgecolor to none (hcb.EdgeColor = 'none'), it doe...

1 year ago | 1 answer | 0

1

answer

Question


Display latitude and longitude labels inside figure axes using m_map
I am using the m_map mapping package (https://www.eoas.ubc.ca/~rich/map.html). I'm wanting to display latitude/longitude labels ...

1 year ago | 0 answers | 0

0

answers

Question


Centering Colorbar and Reducing Label Padding
I have a colorbar that I've adjusted to be roughly 80% of its original size. I'd like to center the colorbar at the bottom insid...

1 year ago | 1 answer | 0

1

answer

Question


Title inside figure plot
I have a figure plot with title currently above the figure frame. I'm wanting to remove the white space and border around the fi...

1 year ago | 1 answer | 0

1

answer

Question


Need an Elegant Sorting Solution for Directory File Names
I have a directory of filenames, (within a files structure array) structured like this: cdef2.20140101.pdef.txt cdef2.20140102...

1 year ago | 1 answer | 0

1

answer

Question


Standard Deviation for X,Y data over 30 Years
I have 30 years of monthly average temperature for global latitude/longitude in a matrix A (dimensions Y,X,Year; size 361,721,30...

1 year ago | 1 answer | 0

1

answer

Question


Retime Yearly Maximum - Finding Corresponding Dates from Timetable
I'm using the retime function to find yearly maximum values for a timetable (e.g., x=timetable(Datetime, Var); YearlyMax = retim...

1 year ago | 2 answers | 0

2

answers

Question


Writing cell of dates to Excel file
I have a cell of dates (characters - 4700x1 cell) formatted as mm/dd/yyyy. When I attempt to write to an Excel file using xlswri...

1 year ago | 1 answer | 0

1

answer

Question


Remote desktop for MATLAB individual license?
I am currently running an individual license of MATLAB on an older laptop (Dell Intel Core i7 @ 2.40GHz, 16 GB RAM, Windows 10 H...

2 years ago | 2 answers | 0

2

answers

Question


Divergence of Horizontal Wind using Spherical Coordinates
I'm wanting to compute divergence of the horizontal wind field from U and V components of wind (meters per second), but using a ...

2 years ago | 0 answers | 0

0

answers

Question


Converting 1D indexed array to 2D matrix
I have a 1-D array of radar data for latitude, longitude, and altitude (dimensions of 2301 x 1201 x 24). Since not all latitude,...

3 years ago | 1 answer | 0

1

answer

Question


Creating 2D Matrix from latitude/longitude values
I have three 1D arrays of the same dimensions (14114 x 1): latitude, longitude, and radar reflectivity. The 1D arrays are not so...

3 years ago | 1 answer | 0

1

answer

Question


Remove whitespace around exported (saved) figure via imwrite
I'm trying to save a figure using getframe and imwrite, however, there's a lot of whitespace around the figure I'd like to remov...

3 years ago | 2 answers | 0

2

answers

Question


Exporting images (png) through export_fig - painfully slow
I'm using export_fig to export a figure to a high resolution png and it's painfully slow. Takes about 36 seconds to perform the ...

3 years ago | 4 answers | 0

4

answers

Question


Unable to read grib2 data with nctoolbox
I'm attempting to read MRMS radar data from here: https://mrms.ncep.noaa.gov/data/2D/ReflectivityAtLowestAltitude/ I grabbed a...

3 years ago | 2 answers | 0

2

answers

Question


Get ticks to lay across colorbar
I'm desiring to place ticks across my colorbar to more clearly separate the color palette. I've set the ticklength to be identic...

3 years ago | 1 answer | 0

1

answer

Question


Right align text in subtitle
I've created a multi-line title and I need a second string of text right aligned on the second line: t = title({['\fontsize{14}...

3 years ago | 1 answer | 0

1

answer

Question


Change spacing between title lines
I have a multi-line title I'm trying to change the spacing between. The first line is size 14 font, the second line is size 10 f...

3 years ago | 2 answers | 0

2

answers

Question


Adjusting width of horizontal colorbar
I have a horizontal colorbar that I want to set the width and keep centered under my figure. I've attempted to change the width ...

3 years ago | 1 answer | 0

1

answer

Load more