Capturing Mouse X-Y Position Script and Quick-Take Tutorial is a JavaScript, which can be incorporated into your web page to display the current mouse position in a form field box. The form field is updated along with each movement of the mouse to keep it current. Supports two fields that display the x and y position of the mouse. Also the supports a tutorial to display the position of the mouse. The script works fine with the Internet...
PLOTINSET(X, Y, POSITION, WINDOWSIZE, 'xlimit', xlimit, 'ylimit', ylimit) creates a plot of vector Y versus vector X, and on top of it, creates an inset plot of size specified by WINDOWSIZE in the current figure, positioned at the location...
P-x-y diagram using RK for Methane+ butane mixture
This function generates mesh plot with 3Dbars at specific (x,y) points by using fill3 function. This function uses MATLAB's fill3.m meant to generate Filled 3-D polygons.
The CRT X-Y library (libcrtxy) is meant to be used by video game programmers who wish to create games in the style of vector graphics arcade games of the late 1970s and early 1980s. (Tempest, Star Wars, Battle Zone, Star Castle, etc.)
TBiancoGlobe is a very simple GraphicControl that allow you to see a 3D ball. Setting the position repeatatly you could get a nice rotating effect. You can add points N everywhere by setting X, Y position and color.
Bidimensional surface shift to a position specified by a vector [x,y].
MOUSETRACK(X) retuns a Mx2 tensor, which containes the x and y position of the mouse cursor during it's motion over the selected image 'inmat'. Images can be real RGB image data, or any MxN matrix. The recording phase is started and stopped by a...
Tristan Ursell Sub-pixel Resolved 2D Convolution March 2012 matout=matoverlay(mat1,mat2,x,y); This function takes an input matrix mat1 and creates an image of the matrix mat2 at the position (x,y) in mat1. If...
Often, measured data is comprised of N sampled values of z, evaluated at N locations (x,y). With this function, you can calculate the coefficients of the best-fit x,y polynomial using a linear least squares approximation.
You can use...
fieldlines3D(X,Y,Z,U,V,W,x0,y0,z0) plots a field line with the initial point P(x0,y0,z0).The matrices X,Y,Z,U,V,and W must all be the same size and contain corresponding position and field components.The function employs the 4th order Runge-Kutta...
Using variable precision integers, computes y such that mod(x*y, N) == 1 is TRUE.
This function plots a 3D line (x,y,z) encoded with scalar color data (c). This function is an improvement over the CLINE function previously made available on TMW File Exchange. Rather than using the LINE function a PATCH surface is generated....
This method uses inverse IFS transformations (assume new x, new y are known and x, y are unknown and solve the equation), and unlike IFS algorithm, it does not use a random number generator and neither the probability coefficients for each IFS...
In Python 3, the map builtin silently drops any excess items in its input:
>>> a = [1, 2, 3] >>> b = [2, 3, 4] >>> c = [3, 4, 5, 6, 7] >>> list(map(lambda x,y,z: x*y+z, a, b, c))
Python tuple unpacking works only for fixed length sequences, that is one cannot write something like: for (x,y,z=0,*rest) in [(1,2,3), (4,5), (6,7,8,9,10)]: print x,y,z,rest
This recipe returns a pad function that implements this...
Returns the convex hull (separated into upper and lower chains of vertices) and the diameter (farthest pair of points), given input consisting of a list of 2d points represented as pairs (x,y). The convex hull algorithm is Graham's scan, using a...
This free Java applet lets you have an image rotate on your site in 3D. It takes a 2D image and spins it around it's X, Y, or Z axis as if it were a 3D image.
It's great for logos on a site, or for general pictures that you want to...
[coef, RSquared]=plotfit(x,y,polyorder) A simple function that accepts x,y data pairs in in the vectors "x" and "y", fits it to a polynomial of order "polyorder", plots the data and the fit, and displays the fit...
width = fwhm(x,y)
Full-Width at Half-Maximum (FWHM) of the waveform y(x) and its polarity.
The FWHM result in 'width' will be in units of 'x'
The code was developed by an unknown author. |