gplt from scipy missing ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ivan Reborin

    gplt from scipy missing ?

    I'm relatively new to python. I'm following a tutorial I found on the
    net, and it uses scipy's gplt for plotting.
    I installed scipy from their website (win32 installation), numpy also,
    but when I do

    from scipy import gplt

    it gives this error:

    Traceback (most recent call last):
    File "<pyshell#0 >", line 1, in <module>
    from scipy import gplt
    ImportError: cannot import name gplt

    Please, can you help me solve this ? How do I get gplt to work ?
    All advice appreciated.


    Best regards
    Ivan
  • Gabriel Genellina

    #2
    Re: gplt from scipy missing ?

    En Mon, 22 Sep 2008 23:19:49 -0300, Ivan Reborin
    <ireborin@delet e.this.gmail.co mescribió:
    I'm relatively new to python. I'm following a tutorial I found on the
    net, and it uses scipy's gplt for plotting.
    I installed scipy from their website (win32 installation), numpy also,
    but when I do
    >
    from scipy import gplt
    >
    it gives this error:
    >
    Traceback (most recent call last):
    File "<pyshell#0 >", line 1, in <module>
    from scipy import gplt
    ImportError: cannot import name gplt
    >
    Please, can you help me solve this ? How do I get gplt to work ?
    All advice appreciated.
    I think scipy does not bundle plotting packages anymore - you may use
    whatever suits you, from other sources.
    Try matplotlib, see the wiki:


    --
    Gabriel Genellina

    Comment

    • Ivan Reborin

      #3
      Re: gplt from scipy missing ?

      On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
      <gagsl-py2@yahoo.com.a rwrote:
      >
      >I think scipy does not bundle plotting packages anymore - you may use
      >whatever suits you, from other sources.
      >Try matplotlib, see the wiki:
      >http://wiki.python.org/moin/NumericA...tific/Plotting
      Hello Gabriel,
      thank you for answering.

      Unfortunatelly, I cannot change my plotting package, unless I indend
      to change a lot of code that I'll be using in the future. I'm not a
      programmer by trade, just a guy doing some calculations with already
      written programms.

      Do you know, by any chance, where one could get gplt separately, or
      for example, get older versions of scipy ?
      I'm using python 5.2.2.. If I install scipy for python 2.3. for
      example (let's assume that one still has gplt in it) will it work ?

      Best regards
      Ivan

      Comment

      • Ivan Reborin

        #4
        Re: gplt from scipy missing ?

        On Tue, 23 Sep 2008 13:44:41 +0200, Ivan Reborin
        <ireborin@delet e.this.gmail.co mwrote:
        >On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
        ><gagsl-py2@yahoo.com.a rwrote:
        >
        >>
        >>I think scipy does not bundle plotting packages anymore - you may use
        >>whatever suits you, from other sources.
        >>Try matplotlib, see the wiki:
        >>http://wiki.python.org/moin/NumericA...tific/Plotting
        >
        >Hello Gabriel,
        >thank you for answering.
        >
        >Unfortunatelly , I cannot change my plotting package, unless I indend
        >to change a lot of code that I'll be using in the future. I'm not a
        >programmer by trade, just a guy doing some calculations with already
        >written programms.
        >
        >Do you know, by any chance, where one could get gplt separately, or
        >for example, get older versions of scipy ?
        >I'm using python 5.2.2.. If I install scipy for python 2.3. for
        Mea culpa, *2.5.2
        >example (let's assume that one still has gplt in it) will it work ?
        >
        >Best regards
        >Ivan

        Comment

        • Michael Palmer

          #5
          Re: gplt from scipy missing ?

          On Sep 23, 7:44 am, Ivan Reborin <irebo...@delet e.this.gmail.co m>
          wrote:
          On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
          >
          <gagsl-...@yahoo.com.a rwrote:
          >
          I think scipy does not bundle plotting packages anymore - you may use
          whatever suits you, from other sources.
          Try matplotlib, see the wiki:
          http://wiki.python.org/moin/NumericA...tific/Plotting
          >
          Hello Gabriel,
          thank you for answering.
          >
          Unfortunatelly, I cannot change my plotting package, unless I indend
          to change a lot of code that I'll be using in the future. I'm not a
          programmer by trade, just a guy doing some calculations with already
          written programms.
          >
          Do you know, by any chance, where one could get gplt separately, or
          for example, get older versions of scipy ?
          I'm using python 5.2.2.. If I install scipy for python 2.3. for
          example (let's assume that one still has gplt in it) will it work ?
          >
          Best regards
          Ivan
          Well, if you are using scipy, you must at least be doing some
          programming. Instead of using gplt, you could just write your data to
          a .csv file and feed that to gnuplot yourself. You can then use the
          full flexibility of gnuplot for formatting your output, without having
          to cross your fingers that the features you need will be covered by
          the gplt module. You also have your data in a readable format after
          calculation but before plotting - I find such intermediate data useful
          for debugging.

          Comment

          Working...