Hello,

I tried to use some affine transformations, but it didn't match to get it works.
I use matplotlib 0.87.5 with python 2.4.3 and Numeric 24.2 on winXP.

I tried for example :
plot([1,0,1],[0,1,0], transform = matplotlib.transforms.Affine(0,1,1,0,0,0))

Then I got :
Traceback (most recent call last):
  File "<input>", line 1, in ?
  File "C:\Python24\lib\site-packages\matplotlib\pylab.py", line 2019, in plot
    ret =  gca().plot(*args, **kwargs)
  File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 2124, in plot
    self.add_line(line)
  File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 879, in add_line
    xys = self._get_verts_in_data_coords(
  File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 934, in 
_get_verts_in_data_coords
    xys = trans.numerix_xy(asarray(xys))
ValueError: Domain error on Transformation::numerix_xy
>>> plot([1,0,1],[0,1,0], transform = matplotlib.transforms.Affine(1,0,0,1,0,0))
Traceback (most recent call last):
  File "<input>", line 1, in ?
  File "C:\Python24\lib\site-packages\matplotlib\pylab.py", line 2019, in plot
    ret =  gca().plot(*args, **kwargs)
  File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 2124, in plot
    self.add_line(line)
  File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 879, in add_line
    xys = self._get_verts_in_data_coords(
  File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 934, in 
_get_verts_in_data_coords
    xys = trans.numerix_xy(asarray(xys))
ValueError: Domain error on Transformation::numerix_xy

Thanks a lot,

Nicolas
 
                
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to