Answered
Set axis to plot data against a specific scale
If your 16000 rows of data are described by |y|, try this: x = linspace(0,1,length(y)); plot(x,y) The |linspace| ...

11 years ago | 0

| accepted

Answered
Border is drawn around the ellipse, how to fill now?
You could fill the ellipse with a <http://www.mathworks.com/help/matlab/ref/patch.html |patch|> or you could use <http://www.mat...

11 years ago | 1

Answered
differentiate according a matrix ???
The <http://www.mathworks.com/help/matlab/ref/gradient.html |gradient|> function may do what you need.

11 years ago | 0

Answered
How to 3D plot a bouncing ball
for |n| bounces, say 7: v_z(1) = 17.82; for n = 2:7 v_z(n) = .8*v_z(n-1); end t = 2*v_z/g;

11 years ago | 0

Answered
How getting coordinates of geagraphical locations?
Do you have the mapping toolbox? If so, the |inputm| function lets you click on a map to get geographic coordinates. If it'...

11 years ago | 1

Answered
Finding a string in a series of unknown variables
Does this do what you need? z = who; Ch1.values = z.values{strcmp(z.title,'Ch1')};

11 years ago | 0

Answered
get data from an image of a graph
http://digitizer.sourceforge.net/

11 years ago | 0

Answered
Shrinking the height of the colorbar
cb = colorbar; set(cb,'position',[.15 .1 .1 .3]) where the position arguments are |[xposition yposition width height]|....

11 years ago | 5

| accepted

Answered
Find string within cell array
<http://www.mathworks.com/help/matlab/ref/regexp.html |regexp|> is quite good at this.

11 years ago | 4

Answered
How to limit data to values below threshold and have the program return what those are then graph it?
Loops are slow and clunky. Try to use logical statements whenever possible. Run this example: x = linspace(0,5*pi,100); ...

11 years ago | 0

Answered
Adding a plot to existing plot.
Hi Lizan, This could be a two-parter. First, load the figure, get its children, then get the x and y data of its children. ...

11 years ago | 1

| accepted

Answered
i want to plot a 2D surface color map plot
Use |imagesc| or |pcolor|. Before plotting you may wish to set |concentration(concentration==-999)=NaN;|

11 years ago | 0

Answered
Creating a series of x-y plots
If you have three columns, call them |station|, |depth|, and |salinity|, you could plot all the station 1 data as red pentograms...

11 years ago | 0

| accepted

Answered
Need complete map plotting and....
I believe <http://www2.ocgy.ubc.ca/~rich/map.html m_map> includes borders.

11 years ago | 0

Answered
Best plot for representing matrix data
I'd recommend <http://www.mathworks.com/help/matlab/ref/imagesc.html |imagesc|>. Or, |pcolor| deals with NaNs nicely, but pcolo...

11 years ago | 0

| accepted

Answered
Efficient way to calculate backwards average
<http://www.mathworks.com/matlabcentral/fileexchange/8251 This> is a very fast moving average calculator. It centers data, so i...

11 years ago | 0

Question


Seeking a fast way to determine if axes are current
I've written a function that includes a line to determine if axes are current. This is the line: AxesAreCurrent = ~isempty...

11 years ago | 3 answers | 0

3

answers

Answered
Undefined function 'geoidtst' Error
Most likely, the |geoidtst| function is in some folder that Matlab can't find. You can change directories to that folder, or us...

11 years ago | 0

Answered
Help with extracting part of a string
Guillame's answer is best, and it's probably good to learn how to use the power of |regexp|. But if you want a more intuitive-fo...

11 years ago | 3

| accepted

Question


Find all values in an array neighbored on both sides by NaN.
I have an array that looks like this: A = [1 2 4 2 NaN 2 4 NaN 6 NaN NaN 9 5 NaN]; I would like to find all values in ...

11 years ago | 1 answer | 1

1

answer

Answered
How can I plot land over a scatter plot? and how can I change the axis tickmark location?
*Problem 1:* If you have the mapping toolbox, this will be much easier. <http://www.mathworks.com/matlabcentral/fileexchange/...

11 years ago | 1

| accepted

Answered
What is changing in R2014b?
This is now up: http://www.mathworks.com/products/matlab/matlab-graphics/tools-for-transitioning-to-R2014b-graphics.html

11 years ago | 2

Question


Can a youtube video be embedded in html via publish?
I'd like to <http://www.mathworks.com/help/matlab/matlab_prog/marking-up-matlab-comments-for-publishing.html |publish|> an examp...

11 years ago | 1 answer | 1

1

answer

Answered
how to use 2 plotyy to generate a figure with four lines
There are a number of solutions on <http://www.mathworks.com/matlabcentral/fileexchange/47846-addaxis-6 FEX> that might help.

11 years ago | 0

Submitted


geotiffinterp
Fast interpolation for georeferenced TIFF raster data.

11 years ago | 4 downloads |

5.0 / 5
Thumbnail

Answered
how can i point out a specific lat long ???
<http://www.mathworks.com/help/map/ref/latlon2pix.html |latlon2pix|> might do it.

11 years ago | 0

Answered
Extracting data from a raster file with the borders of polygon (vector in shapefile)
This may not be exactly what you're looking for, but you could interpolate values given by lat/lon or map x/y using <http://www....

11 years ago | 0

| accepted

Answered
how can I apply low pass filter to a time series data
If you have the signal processing toolbox, this makes the process a little bit easier: http://www.mathworks.com/matlabcentral/fi...

11 years ago | 0

Question


quiver arrows always appear below semitransparent layer
I am attempting to plot quiver arrows on top of a semitransparent pcolor layer. However, the arrows only appear below the semit...

11 years ago | 1 answer | 0

1

answer

Answered
datestr datenum problem with year conversion.
Is this what you're looking for? months = [0 1 2 3 6 7 8 9 10 14 15 16 17]; datestr(datenum(1990,1+months,2))

11 years ago | 0

| accepted

Load more