Programs in Physics & Physical Chemistry
|[Licence| Download | New Version Template] aaqg_v1_0.gz(5 Kbytes)|
|Manuscript Title: Simulation of photographic images on a plotter.|
|Authors: B.V. Robouch, A. Sestero, S. Podda|
|Program title: PHOTO SIMULATION|
|Catalogue identifier: AAQG_v1_0|
Distribution format: gz
|Journal reference: Comput. Phys. Commun. 24(1981)63|
|Programming language: Fortran.|
|Computer: IBM 370/138.|
|Operating system: OS.|
|RAM: 2K words|
|Word size: 32|
|Peripherals: magnetic tape, graph plotter.|
|Keywords: General purpose, Plot, Simulation, Photo, Visualization of Numerical array.|
Nature of problem:
The subroutine may be usefully applied to visualize the output intensity of a function of two variables (in either Cartesian or polar coordinates), and/or follow its time evolution; example of application: mapping, stresses picture simulation, etc.
A coordinate grid is defined for the two independent variables, and each cell thus defined is filled with points randomly scattered within the cell, the density of plotting being proportional to the average of the four values of the intensity at the four corners of the cell.
Per dm squared of plot at a print density of 20 dots per cm squared the running time is 50 s on an IBM 370/138 and 4.1 s on an IBM 370/168.
|Disclaimer | ScienceDirect | CPC Journal | CPC | QUB|