Thank you very much.

The numbering in the axes now appear as zeros (in fact just one zero
in the middle of each axe), so there is no clue on the min and max
values of the variables.

Thanks again and regards

On Feb 17, 7:31 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Feb 16, 2008 10:19 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello all.
>
> > I have a Matrix of, say, 64x64 and I plot it using matrix_plot(). It
> > is a fractal that fills the square [0,1]x[0,1] so I want to keep a 2D
> > view. I would like to change the x,y axes ranging values to be in the
> > interval [0,1] rather than in {0, ..., 63}. I don't know how to do it.
> > Maybe using another plotting function?.
>
> Nobody has implemented a simple clean way to do that in Sage yet,
> though it would be easy to do.  Here is a hackish way to do exactly
> what you want:
>
> sage: a = random_matrix(RDF,64)
> sage: import numpy
> sage: m = matrix_plot(a)
> sage: m[0].xrange =numpy.array([0,1],dtype=float)   # key part of all this
> sage: m[0].yrange =numpy.array([0,1],dtype=float)
> sage: m.xmax(1); m.ymax(1)
> sage: m.show()
>
> The above will be helpful to whoever does implement this.
>
> I've made this ticket #2189:
>    http://trac.sagemath.org/sage_trac/ticket/2189
>
>  -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to