leff%smu.csnet@relay.cs.net (Laurence Leff) (08/26/87)
Help! We are having trouble with splines with pic. Of the following four figures, only the first one draws a spline. The remaining three just draw a box. (We are using ditroff, dcan and the Imagen Imaging Station 3) By the way, with a scale =1 command, the box should be three inches by three inches. In fact takes up the entire width of the page, why? .PS scale=1; A:box wid 3i ht 3i; move to A.w; spline right 2.3i down 0.3i then up 0.2i right 0.3i then down 0.2i right 0.2i; .PE .PS scale=1; A:box wid 3i ht 3i; move to A.w; spline right 2.3i up 0.3i then up 0.2i right 0.3i then down 0.2i right 0.2i; .PE .PS scale=1; A:box wid 3i ht 3i; move to A.w; spline right 2.3i up 0.0i then up 0.2i right 0.3i then down 0.2i right 0.2i; .PE .PS scale=1; A:box wid 3i ht 3i; move to A.w; spline right 2.3i then up 0.2i right 0.3i then down 0.2i right 0.2i; .PE I took a look at the pic output from the first two and saw nothing anomalous from either. Pic output from first pic input. ... 0 -1.5 3 1.5 0 0 4096 4096 ... 0u 1800u 1800u 0u 0u 900u 2457600u -2456699u .PS 1800 1800 .br \v'1800u'\D'l0u -1800u' .sp -1 \D'l1800u 0u' .sp -1 \h'1800u'\D'l0u 1800u' .sp -1 \h'1800u'\v'1800u'\D'l-1800u 0u' .sp -1 \v'900u'\D'~ 1380u 180u 180u -119u 120u 120u' .sp -1 .sp 1+1800u .PE Pic output from second pic input ... 0 -1.5 3 1.5 0 0 4096 4096 ... 0u 1800u 1800u 0u 0u 900u 2457600u -2456699u .PS 1800 1800 .br \v'1800u'\D'l0u -1800u' .sp -1 \D'l1800u 0u' .sp -1 \h'1800u'\D'l0u 1800u' .sp -1 \h'1800u'\v'1800u'\D'l-1800u 0u' .sp -1 \v'900u'\D'~ 1380u -179u 180u -119u 120u 120u' .sp -1 .sp 1+1800u .PE I looked at the output from ditroff (the input to the dcan preprocessor and did notice that for some reason the starting point for the box differs by 50 points from figure to figure even though the spline is completely contained within the box). I am not going to include that output since it is somewhat lengthy.