怎样将基于RasterArray的函数定义改写为Raster的形式?
mathematica吧
全部回复
仅看楼主
level 13
◆Kyubey 楼主
显示RasterArray::obs: RasterArray 过期了. 改为 Raster. >>,但是RasterArray的定义和Raster差太远,怎样改?
2016年04月02日 13点04分 1
吧务
level 15
举个例子吧……
2016年04月02日 14点04分 2
level 13
◆Kyubey 楼主
PlotC[h_, s_, b_, a_, xmin_, xmax_, ymin_, ymax_, step_, AxesLab_] :=
Show[Graphics[
RasterArray[Table[
Hue[h, s, b , a],
{y, ymin + 0.0012, ymax, step},
{x, xmin + 0.0012, xmax, step}]]],
AspectRatio -> Automatic,
Axes -> True,
AxesStyle -> RGBColor[0, 0, 0],
Ticks -> {
Table[{0.1 + 50 i, xmin + 50 step i, 0.01},
{i, 0, (xmax - xmin)/(50 step)}],
Table[{0.1 + 50 i, ymin + 50 step i, 0.01},
{i, 0, (ymax - ymin)/(50 step)}]},
ImageSize -> (20 + (xmax - xmin)/step),
AxesLabel -> AxesLab]
[不要]求大触改写成Raster,ParallelTable,ParallelArray的形式@xzcyr
2016年04月03日 12点04分 3
……你确定需要改写吗?我盯着文档看了半天,RasterArray这个函数并没被取消啊,它就和Random一样,虽然不建议使用了,但是被保留了。
2016年05月07日 09点05分
啊,已经仿照系统那个函数重写了一个了。
2016年05月10日 12点05分
1