Home
last modified time | relevance | path

Searched refs:ypts (Results 1 – 25 of 153) sorted by relevance

1234567

/dports/math/plplot-ada/plplot-5.15.0/examples/fortran/
H A Dx11f.f9037 integer, parameter :: xpts=35, ypts=46 variable
40 real(kind=pl_test_flt) :: x(xpts), y(ypts), z(xpts,ypts), xx, yy
58 y = 3._pl_test_flt * (arange(ypts) - (ypts/2)) / real(ypts/2,kind=pl_test_flt)
62 do j=1,ypts
100 call plmesh(x(:xpts), y(:ypts), z(:xpts,:ypts), opt(k))
103 call plmesh(x(:xpts), y(:ypts), z(:xpts,:ypts), ior(opt(k), MAG_COLOR))
106 call plot3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
110 call plmeshc(x(:xpts), y(:ypts), z(:xpts,:ypts), &
H A Dx08f.f9043 integer, parameter :: xdim=99, ydim=100, xpts=35, ypts=45 variable
44 real(kind=pl_test_flt) :: x(xdim), y(ydim), z(xdim,ypts), xx, yy, r
45 real(kind=pl_test_flt) :: zlimited(xdim,ypts)
83 dy = 2.0_pl_test_flt / (ypts - 1)
89 do j = 1,ypts
100 do j=1,ypts
166 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
172 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
178 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
184 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
[all …]
/dports/math/plplot/plplot-5.15.0/examples/fortran/
H A Dx11f.f9037 integer, parameter :: xpts=35, ypts=46 variable
40 real(kind=pl_test_flt) :: x(xpts), y(ypts), z(xpts,ypts), xx, yy
58 y = 3._pl_test_flt * (arange(ypts) - (ypts/2)) / real(ypts/2,kind=pl_test_flt)
62 do j=1,ypts
100 call plmesh(x(:xpts), y(:ypts), z(:xpts,:ypts), opt(k))
103 call plmesh(x(:xpts), y(:ypts), z(:xpts,:ypts), ior(opt(k), MAG_COLOR))
106 call plot3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
110 call plmeshc(x(:xpts), y(:ypts), z(:xpts,:ypts), &
H A Dx08f.f9043 integer, parameter :: xdim=99, ydim=100, xpts=35, ypts=45 variable
44 real(kind=pl_test_flt) :: x(xdim), y(ydim), z(xdim,ypts), xx, yy, r
45 real(kind=pl_test_flt) :: zlimited(xdim,ypts)
83 dy = 2.0_pl_test_flt / (ypts - 1)
89 do j = 1,ypts
100 do j=1,ypts
166 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
172 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
178 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
184 call plsurf3d(x(:xpts), y(:ypts), z(:xpts,:ypts), &
[all …]
/dports/graphics/processing/processing-1.5.1/modes/android/examples/OpenGL/Yellowtail/
H A DYellowtail.pde95 int ypts[];
105 ypts = p.ypoints;
107 vertex(xpts[0], ypts[0]);
108 vertex(xpts[1], ypts[1]);
109 vertex(xpts[2], ypts[2]);
110 vertex(xpts[3], ypts[3]);
114 vertex(xpts[0]+w, ypts[0]);
115 vertex(xpts[1]+w, ypts[1]);
116 vertex(xpts[2]+w, ypts[2]);
117 vertex(xpts[3]+w, ypts[3]);
[all …]
/dports/graphics/processing/processing-1.5.1/modes/java/libraries/opengl/examples/Yellowtail/
H A DYellowtail.pde100 int ypts[];
110 ypts = p.ypoints;
112 vertex(xpts[0], ypts[0]);
113 vertex(xpts[1], ypts[1]);
114 vertex(xpts[2], ypts[2]);
115 vertex(xpts[3], ypts[3]);
119 vertex(xpts[0]+w, ypts[0]);
120 vertex(xpts[1]+w, ypts[1]);
121 vertex(xpts[2]+w, ypts[2]);
122 vertex(xpts[3]+w, ypts[3]);
[all …]
/dports/devel/allegro/allegro-4.4.3.1/src/
H A Dspline.c122 int xpts[MAX_POINTS], ypts[MAX_POINTS]; in _soft_spline() local
155 calc_spline(points, num_points, xpts, ypts); in _soft_spline()
168 c = getpixel(bmp, xpts[i], ypts[i]); in _soft_spline()
169 line(bmp, xpts[i-1], ypts[i-1], xpts[i], ypts[i], color); in _soft_spline()
171 putpixel(bmp, xpts[i], ypts[i], c); in _soft_spline()
175 line(bmp, xpts[i-1], ypts[i-1], xpts[i], ypts[i], color); in _soft_spline()
179 line(bmp, xpts[i-1], ypts[i-1], xpts[i], ypts[i], color); in _soft_spline()
/dports/math/PDL/PDL-2.019/Graphics/PGPLOT/Window/
H A DWindow.xs32 pggapline(n,msgval,xpts,ypts) in pggapline() argument
36 float * ypts in pggapline()
41 myhandle->cpgmove (xpts[start], ypts[start]); in pggapline()
43 if (ypts[i] == msgval) { in pggapline()
45 if (i != n-1 && ypts[i+1] != msgval) { in pggapline()
46 myhandle->cpgmove (xpts[i+1], ypts[i+1]); in pggapline()
50 myhandle->cpgdraw (xpts[i], ypts[i]); in pggapline()
/dports/math/plplot-ada/plplot-5.15.0/examples/c++/
H A Dx14.cc48 static const int xpts, ypts; member in x14
57 const int x14:: ypts = 46; member in x14
59 const PLFLT x14::yspa = 2. / ( x14::ypts - 1 );
411 pls->Alloc2dGrid( &z, xpts, ypts ); in plot5()
412 pls->Alloc2dGrid( &w, xpts, ypts ); in plot5()
417 for ( j = 0; j < ypts; j++ ) in plot5()
419 yy = (PLFLT) ( j - ( ypts / 2 ) ) / (PLFLT) ( ypts / 2 ) - 1.0; in plot5()
427 pls->cont( z, xpts, ypts, 1, xpts, 1, ypts, clevel, 11, x14::mypltr, NULL ); in plot5()
430 pls->cont( w, xpts, ypts, 1, xpts, 1, ypts, clevel, 11, x14::mypltr, NULL ); in plot5()
436 pls->Free2dGrid( z, xpts, ypts ); in plot5()
[all …]
/dports/math/plplot/plplot-5.15.0/examples/c++/
H A Dx14.cc48 static const int xpts, ypts; member in x14
57 const int x14:: ypts = 46; member in x14
59 const PLFLT x14::yspa = 2. / ( x14::ypts - 1 );
411 pls->Alloc2dGrid( &z, xpts, ypts ); in plot5()
412 pls->Alloc2dGrid( &w, xpts, ypts ); in plot5()
417 for ( j = 0; j < ypts; j++ ) in plot5()
419 yy = (PLFLT) ( j - ( ypts / 2 ) ) / (PLFLT) ( ypts / 2 ) - 1.0; in plot5()
427 pls->cont( z, xpts, ypts, 1, xpts, 1, ypts, clevel, 11, x14::mypltr, NULL ); in plot5()
430 pls->cont( w, xpts, ypts, 1, xpts, 1, ypts, clevel, 11, x14::mypltr, NULL ); in plot5()
436 pls->Free2dGrid( z, xpts, ypts ); in plot5()
[all …]
/dports/audio/snd/snd-21.2/
H A Dsnd-print.c121 static mus_float_t *ypts = NULL; variable
127 if (!ypts) ypts = (mus_float_t *)calloc(POINT_BUFFER_SIZE, sizeof(mus_float_t)); in ps_allocate_grf_points()
135 ypts[j] = ymin; in ps_set_grf_points()
143 ypts[j] = y; in ps_set_grf_point()
212 ps_draw_lines(ap, j, xpts, ypts); in ps_draw_grf_points()
221 ps_draw_lines(ap, j, xpts, ypts); in ps_draw_grf_points()
238 ps_grf_y(ap, ypts[i]) - gy0); in ps_draw_grf_points()
254 ps_draw_lines(ap, j, xpts, ypts); in ps_draw_both_grf_points()
279 ps_draw_dots(ap, j, xpts, ypts, dot_size); in ps_draw_both_grf_points()
282 ps_draw_lines(ap, j, xpts, ypts); in ps_draw_both_grf_points()
[all …]
/dports/graphics/p5-PGPLOT/PGPLOT-2.21/
H A Dtest11.p43 my(@ypts) = @{$self->{'Yvertices'}};
46 for (@ypts) { $_ = $_ + $y }
48 pgsci($self->{'Colour'}); pgpoly(scalar(@xpts), \@xpts, \@ypts);
49 pgsci(1); pgline(scalar(@xpts), \@xpts, \@ypts);
58 my $ypts = $self->{'Yvertices'};
61 for (@$ypts) { $_ = $_ * $fac }
/dports/math/plplot-ada/plplot-5.15.0/examples/tcl/
H A Dx09.tcl6 set ypts 46
14 matrix zz f $xpts $ypts
15 matrix ww f $xpts $ypts
21 for {set j 0} {$j < $ypts} {incr j} {
22 set yy [expr {($j - ($ypts / 2)) / double($ypts / 2) - 1.0} ]
29 matrix yg0 f $ypts
32 matrix yg1 f $ypts
34 matrix xg2 f $xpts $ypts
35 matrix yg2 f $xpts $ypts
188 set xpts 40; set ypts 40; set ylim [expr {$ypts - 1}]; set wrap 2
[all …]
H A Dx08.tcl96 set ypts 45
101 matrix y f $ypts
102 matrix z f $xpts $ypts
113 for {set i 0} {$i < $ypts} {incr i} {
122 for {set j 0} {$j < $ypts} {incr j} {
146 set y0 [expr {0.5 * ( $ypts - 1 )}]
149 matrix zlimited f $xpts $ypts
157 indexymax $i = $ypts
177 set zmin [z min [ expr $xpts * $ypts]]
178 set zmax [z max [ expr $xpts * $ypts]]
/dports/math/plplot/plplot-5.15.0/examples/tcl/
H A Dx09.tcl6 set ypts 46
14 matrix zz f $xpts $ypts
15 matrix ww f $xpts $ypts
21 for {set j 0} {$j < $ypts} {incr j} {
22 set yy [expr {($j - ($ypts / 2)) / double($ypts / 2) - 1.0} ]
29 matrix yg0 f $ypts
32 matrix yg1 f $ypts
34 matrix xg2 f $xpts $ypts
35 matrix yg2 f $xpts $ypts
188 set xpts 40; set ypts 40; set ylim [expr {$ypts - 1}]; set wrap 2
[all …]
H A Dx08.tcl96 set ypts 45
101 matrix y f $ypts
102 matrix z f $xpts $ypts
113 for {set i 0} {$i < $ypts} {incr i} {
122 for {set j 0} {$j < $ypts} {incr j} {
146 set y0 [expr {0.5 * ( $ypts - 1 )}]
149 matrix zlimited f $xpts $ypts
157 indexymax $i = $ypts
177 set zmin [z min [ expr $xpts * $ypts]]
178 set zmax [z max [ expr $xpts * $ypts]]
/dports/devel/upp/upp/bazaar/PixRaster/lib/
H A Dpsio1.c237 l_float32 ypts, in convertFilesFittedToPS() argument
252 if (ypts <= 0.0) { in convertFilesFittedToPS()
254 ypts = 792.0; in convertFilesFittedToPS()
256 if (xpts < 100.0 || xpts > 2000.0 || ypts < 100.0 || ypts > 2000.0) in convertFilesFittedToPS()
263 sarrayConvertFilesFittedToPS(sa, xpts, ypts, fileout); in convertFilesFittedToPS()
283 l_float32 ypts, in sarrayConvertFilesFittedToPS() argument
299 if (ypts <= 0.0) { in sarrayConvertFilesFittedToPS()
301 ypts = 792.0; in sarrayConvertFilesFittedToPS()
303 if (xpts < 100.0 || xpts > 2000.0 || ypts < 100.0 || ypts > 2000.0) in sarrayConvertFilesFittedToPS()
316 if (xpts * h < ypts * w) in sarrayConvertFilesFittedToPS()
[all …]
/dports/databases/postgis31/postgis-3.1.4/loader/
H A Dpgsql2shp-core.c100 ypts[0] = p4d.y; in create_point()
109 free(ypts); in create_point()
138 ypts[i] = p4d.y; in create_multipoint()
148 free(ypts); in create_multipoint()
192 ypts[shppoint] = p4d.y; in create_polygon()
235 free(ypts); in create_polygon()
339 free(ypts); in create_multipolygon()
369 ypts[i] = p4d.y; in create_linestring()
379 free(ypts); in create_linestring()
423 ypts[shppoint] = p4d.y; in create_multilinestring()
[all …]
/dports/databases/postgis32/postgis-3.2.0/loader/
H A Dpgsql2shp-core.c100 ypts[0] = p4d.y; in create_point()
109 free(ypts); in create_point()
138 ypts[i] = p4d.y; in create_multipoint()
148 free(ypts); in create_multipoint()
192 ypts[shppoint] = p4d.y; in create_polygon()
235 free(ypts); in create_polygon()
339 free(ypts); in create_multipolygon()
369 ypts[i] = p4d.y; in create_linestring()
379 free(ypts); in create_linestring()
423 ypts[shppoint] = p4d.y; in create_multilinestring()
[all …]
/dports/databases/postgis30/postgis-3.0.4/loader/
H A Dpgsql2shp-core.c100 ypts[0] = p4d.y; in create_point()
109 free(ypts); in create_point()
138 ypts[i] = p4d.y; in create_multipoint()
148 free(ypts); in create_multipoint()
192 ypts[shppoint] = p4d.y; in create_polygon()
235 free(ypts); in create_polygon()
339 free(ypts); in create_multipolygon()
369 ypts[i] = p4d.y; in create_linestring()
379 free(ypts); in create_linestring()
423 ypts[shppoint] = p4d.y; in create_multilinestring()
[all …]
/dports/databases/postgis25/postgis-2.5.5/loader/
H A Dpgsql2shp-core.c101 ypts[0] = p4d.y; in create_point()
110 free(ypts); in create_point()
139 ypts[i] = p4d.y; in create_multipoint()
149 free(ypts); in create_multipoint()
193 ypts[shppoint] = p4d.y; in create_polygon()
236 free(ypts); in create_polygon()
340 free(ypts); in create_multipolygon()
370 ypts[i] = p4d.y; in create_linestring()
380 free(ypts); in create_linestring()
424 ypts[shppoint] = p4d.y; in create_multilinestring()
[all …]
/dports/math/plplot-ada/plplot-5.15.0/examples/ocaml/
H A Dx09.ml29 let ypts = 46 (* Data points in y *) var
32 let yspa = 2.0 /. float_of_int (ypts - 1)
262 for j = 0 to ypts - 1 do
264 float_of_int (j - (ypts / 2)) /. float_of_int (ypts / 2) -. 1.0
279 for j = 0 to ypts - 1 do
300 plcont z 1 xpts 1 ypts clevel;
303 plcont w 1 xpts 1 ypts clevel;
313 plcont z 1 xpts 1 ypts clevel;
317 plcont w 1 xpts 1 ypts clevel;
326 plcont z 1 xpts 1 ypts clevel;
[all …]
/dports/math/plplot/plplot-5.15.0/examples/ocaml/
H A Dx09.ml29 let ypts = 46 (* Data points in y *) var
32 let yspa = 2.0 /. float_of_int (ypts - 1)
262 for j = 0 to ypts - 1 do
264 float_of_int (j - (ypts / 2)) /. float_of_int (ypts / 2) -. 1.0
279 for j = 0 to ypts - 1 do
300 plcont z 1 xpts 1 ypts clevel;
303 plcont w 1 xpts 1 ypts clevel;
313 plcont z 1 xpts 1 ypts clevel;
317 plcont w 1 xpts 1 ypts clevel;
326 plcont z 1 xpts 1 ypts clevel;
[all …]
/dports/cad/py-phidl/phidl-1.0.1/phidl/
H A Dgeometry.py146 ypts = r*sin(t)
1573 ypts = []
1723 ypts.append(ypts[0])
1727 cc += ((xpts[i+1]-xpts[i])*(ypts[i+1]+ypts[i]))
1730 midpoint_n = [(xpts[i+1]+xpts[i])/2, (ypts[i+1]+ypts[i])/2]
2246ypts = ypts[::-ds_factor]; ypts = ypts[::-1] # so the last point is guaranteed to be included w…
2254 xpts.append(xpts[0]); ypts.append(ypts[0])
2257 ypts = np.array(ypts)
2327 ypts = []
2335 ypts.append(0)
[all …]
/dports/devel/libslang2/slang-2.3.2/modules/test/
H A Dtest_hist.sl123 variable h = hist2d (xpts, ypts, xedges, yedges);
125 failed ("alternate form hist2d(xpts, ypts, xedges, yedges)");
127 h = hist2d (xpts, ypts, xedges, yedges, NULL);
131 h = hist2d (NULL, xpts, ypts, xedges, yedges, NULL);
135 h = hist2d (NULL, xpts, ypts, xedges, yedges);
140 h = hist2d (h1, xpts, ypts, xedges, yedges);
332 variable ypts = urand (100);
339 () = hist2d (pts, ypts, xgrid, ygrid);
350 () = hist2d (pts, ypts, xgrid, ygrid);
358 ypts = urand (length(pts)-1);
[all …]

1234567