On 4/24/07, kamakura <[EMAIL PROTECTED]> wrote:
I want to make a contour plot for the Rosenbrock's banana function. However, I cannot draw it without contour levels like levels= (10,8,6,4,2,0.5,0.1). Is it possible to specify the levels of the contour?
I am probably not the best person to answer this -- I use plot only rarely and am not familiar with many ways of using it. That said, I believe, with the current version of J, you can do this only by redefining plot_contour_jwplot_ This is defined when you load'plot' or when you first require'plot'. Hypothetically, at least, you could copy its definition and then introduce some other script which does: require'plot' plot_contour_jwplot_=:3 :0 ... replacement definition based on original ) Of course, if you want to define multiple names in that locale a better approach would be equire'plot' cocurrent'jwplot' plot_contour=:3 :0 ... replacement definition based on original ) etc=:... I hope this helps, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
