## 5 Badges

11 years, 342 days

## Plotting data on a sphere...

Maple

I have 3 column vectors:

phi contains the number of radians from the North Pole

theta contains the number of radians from the Greenwich meridian

D contains number data corresponding to the point (phi,theta) on the sphere.

How do I plot:

a) a contour plot on the surface of the sphere where each point at (phi, theta) has a corresponding data value D?

b) a plot where the height above the surface at (phi, theta) is some linear function of D such as radius*D*constant?

## Vector math and conditional functions...

Maple 15

Level: Idiot (Me)

I have a matrix of 3 columns and lots of rows M

• First column is latitude in degrees
• Second column is longitude in degrees
• Third column is data

So I set lambda:=M(..,1) and phi_g:=M(..,2) giving me two column vectors.

I want to convert lambda and phi_g to polar coordinates theta and phi

theta:=90-lambda produces "Error, (in rtable/Sum) invalid arguments"

WHY?

I also want to convert phi_g to phi where phi=phi_g when phi_g is 0...180 and phi=phi_g +360 when phi_g <0

How do I create a conditional function like this?

## How do import a table of data into a tim...

Maple 15

I have a table of data arranged in the following columns: Year, Jan, Feb, Mar,..,Dec in Excel or csv

I would like to import this data into a time series in Maple so I can plot the result.

What is the simplest way of doing this?

## Importing NetCDF data into Maple 15?...

Maple 15

Hi

Is there a way of importing data in NetCDF format into Maple 15? This format is very widely used in atmospheric sciences as a data standard for experimental data such as satellite-derived data.

Thanks

## Vector to Matrix conversion...

Maple

I have a vector containing data which is m*n long (ie from 1...(m*n)) and I want to convert it to a matrix of m columns and n rows.

What's the quickest and most efficient way in Maple to do this?

 1 2 Page 1 of 2
﻿