Mathematica – specifying 3D vertex coordinates for a 3D graph

This is specific to Mathematica 8.*, where Graphs are atomic expressions There was no simple way to assign the 3D vertex-coordinates to the vertices of a graph. Whereas a 2D graph’s vertex-coordinates can be initialized as follows : [text] vertices = {1, 2, 3}; coords = {{0, 0}, {1, 0}, {2, 0}}; connectivity = {1 […]

Installing GD image manipulation capabilities in PHP on Ubuntu 11.04

I wanted to enable the image manipulation functions using Php. It was documented that the that GD library is included in Php versions 4.3 and above. I had PHP version 5.3.5 on my Ubuntu 11.04. I tested the GD support using the code: [php] < ?php echo "GD Info : “; var_dump(gd_info()); if (imagetypes() & […]