Sedang Disiapkan

2 small scripts in Ruby/Pgplot

2 very small scripts in Ruby/Pgplot/NArray needed:

Script 1


Goal: Plot of a 2D array A[i][j] in "greyscale" style


1) Data (matrix of a priori unknown size) should be read from a file where user specifies the filename in the script.

2) This file holds 3 colums in the from (cf attached input file CWT_star_2_on_y+[url removed, login to view])

a*i b*j A[i][j]

a*(i+1) b*j A[i+1][j]




3) Use pgplot library to plot the input file in a greyscale style. Background color shall be white. Actual plotting color shall be black (the larger A[i][j] the darker the color). Last remark: x and y axises shall be in line with columns 1 and 2 of the file. Matrix is of class NArray.

Script 2


1) User specified 2 columns input file

x1 y1

x2 y2




2) Script shall plot histograms of the data (the fancier the better)

Kemahiran: Pengaturcaraan C, Linux, Perl, Python, Memasang Skrip

Lihat lebih lanjut: small, ivy b, gz, data plotting, data plot, data matrix, larger, matrix cgi, filename, color library, perl script input, read dat, small data, pending scripts, style attached, ruby library, input file specified, script data input, small background color, small perl scripts, black white color, dat file, script shall, unknown, small background

Tentang Majikan:
( 0 ulasan ) Amsterdam, Netherlands

ID Projek: #93131