On m'a envoyé la solution. Il suffit d'utiliser la fonction apply de la manière suivante :
> apply(draw2d,[polygon(regions[1]),polygon(regions[2])]); Et je peux ainsi utiliser makelist pour un nombre quelconque de polygones : > apply(draw2d,makelist(polygon(regions[i]),i,1,length(regions))); Pour reproduire mon exemple, je peux soit déclarer les options globales avec set_draw_defaults avant d'appliquer draw2d, soit concaténer des listes : > apply(draw2d,append([option1,option2,option3],makelist(polygon(regions[i]),i,1,length(regions)))); Me voilà débloqué. Bertrand Bonnefoy-Claudet ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Maxima-lang-fr mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr
