$maple
    |\^/|     Maple 12 (APPLE UNIVERSAL OSX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2008
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.
> with(plots);
[animate, animate3d, animatecurve, arrow, changecoords, complexplot,

    complexplot3d, conformal, conformal3d, contourplot, contourplot3d,

    coordplot, coordplot3d, densityplot, display, dualaxisplot, fieldplot,

    fieldplot3d, gradplot, gradplot3d, graphplot3d, implicitplot,

    implicitplot3d, inequal, interactive, interactiveparams, intersectplot,

    listcontplot, listcontplot3d, listdensityplot, listplot, listplot3d,

    loglogplot, logplot, matrixplot, multiple, odeplot, pareto, plotcompare,

    pointplot, pointplot3d, polarplot, polygonplot, polygonplot3d,

    polyhedra_supported, polyhedraplot, rootlocus, semilogplot, setcolors,

    setoptions, setoptions3d, spacecurve, sparsematrixplot, surfdata, textplot,

    textplot3d, tubeplot]

> plot3d(sin(x*y), x=-4..4, y=-4..4);

                                                                              
                                     /- \\                                    
                              ---  \//\-/\\\  --\                             
                       |--   / |\ / \/\//\/ \ /| \   ---                      
                 -    | |----//|-/--\--|--/--\-|-\----| |    -                
         \     ----\  | || |-/////-- /---\ --\\\\\-| || |  /----     /        
         /\    ||/|-- || | || |-/ ///-/\\-\\\ \-| || | || --|\||    /\        
        //\    ||||/\| || | || / /-/ // \\ \-\ \||| | || |/\||||    /\\       
        |/\\   |/||\-\\||-|| | ////-////\\\-\\\\ ||||-||////||||   //\|       
   |   || ||  |//\ |\\\\||-|-|/-\\-- \\ // --//-\|-|-||////| /\\|  || ||   |  
    |  || ||| |||-\||\|\|\---| \/\/\ /\ /\ /\/\/ |---/|/|/||/-||| ||| ||  |   
    |  |  |||/||||||||| \\\| ||\/|//\/\ ///\\|\/-| |/// |||||||||\|||  |  |   
    |  |   ||/|||| |||||\/| |/|| /  \/\ /\/  \ ||\| |\/||||| ||\|\||   |  |   
    |  |   || ||| ||||||| | |/ |||| \--/ -/ |||| \| | ||-|||| ||| ||   |  |   
     ||    | \||  || || ||| |\ || ||| | | ||| || /| ||| || ||  ||/ |    ||    
     |      |\|   |-|||||| || | | ||||| ||||| | | || ||||| ||   |/|           
            |/|    \| |||| || |\| || ||||| || |/| || ||||||/    |\|           
                   \||-| |/||||\|  | ||||| |  |/ |||\| |-||/                  
                    |     ||-|//\|/| /\|/\ |\|/\\|-||     |                   
                             |   |/\//\//\\/\|   |                            
                                 |  /  /  \  |                                
                                                                              
                                                                              
> quit
memory used=3.2MB, alloc=2.6MB, time=0.05

You can't really drag it around like you could with a real 3D plot (there might 
be ways to change the orientation through arguments to the function; I haven't 
really played around with it that much), so it's of limit use like I said.  But 
still, it's very cool.

Aaron Meurer

On Feb 18, 2011, at 1:28 PM, Christophe BAL wrote:

> Helllo,
> do you have an example of an ASCII 3-D plot ?
> 
> Christophe
> 
> 2011/2/18, Aaron S. Meurer <[email protected]>:
>> 
>> On Feb 18, 2011, at 12:26 PM, Ondrej Certik wrote:
>> 
>>> On Thu, Feb 17, 2011 at 8:04 PM, Chris Smith <[email protected]> wrote:
>>>> 
>>>>> In [8]: TableForm([[5, 7], [4, 2], [10, 3]],
>>>>>   ...:         headings=[["Group A", "Group B", "Group C"], ["y1",
>>>>> "y2"]],
>>>>>   ...:         alignment="right")
>>>>> Out[8]:
>>>>>        | y1 y2
>>>>> ---------------
>>>>> Group A |  5  7
>>>>> Group B |  4  2
>>>>> Group C | 10  3
>>>>> 
>>>>> 
>>>> 
>>>> I like it! One thing that I do with my ASCII tables is to use what I call
>>>> a "flag" label. A wrap option might be nice, too:
>>>> default mode:
>>>> 
>>>> h[1] >>> TableForm([["a", "b"], ["c", "d"], ["e", "f"]],headings=(None,
>>>> ['this is long', 'y']))
>>>> this is long y
>>>> --------------
>>>> a            b
>>>> c            d
>>>> e            f
>>>> 
>>>> wrap mode
>>>> 
>>>> this is
>>>> long     y
>>>> ----------
>>>> a        b
>>>> c        d
>>>> e        f
>>>> 
>>>> flag mode
>>>> 
>>>> this is long
>>>> |          y
>>>> ------------
>>>> a          b
>>>> c          d
>>>> e          f
>>>> 
>>>> wrap/flag mode
>>>> 
>>>> this is
>>>> long
>>>> |      y
>>>> ---------
>>>> a       b
>>>> c       d
>>>> e       f
>>>> 
>>>> For more than two columns, flags get progressively lower
>>>> 
>>>> like
>>>> |  this
>>>> |  | here
>>>> ---------
>>>> x  y  z
>>> 
>>> Nice! So I will try to finish this pull request soon and send it in.
>>> Once it gets in, you can then implement this.
>>> 
>>> This reminds me, that for the Plot() command, one of the output
>>> (besides the obvious ones, like html, png, google chart api link)
>>> should be ascii art, so that one can at least see something in the
>>> console, immediately, there is one example at the bottom of this page:
>>> 
>>> http://www.cs.hmc.edu/~vrable/gnuplot/using-gnuplot.html
>>> 
>>> it exactly fits into my terminal.
>>> 
>>> Ondrej
>> 
>> This is what the command line Maple does.  It even has ASCII 3-D plots,
>> which are pretty cool (though admittedly of limit usage :)
>> 
>> Aaron Meurer
>> 
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/sympy?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to