/py-ascii-plot

A simple ascii-based plot function for python

Primary LanguagePythonMIT LicenseMIT

py-ascii-plot

A simple ascii-based plot function for python

Example

Here is an example of the solution of a 2D wave equation in a non-homogeneous medium restricted to a circular domain.

                        &&&&&&&&&&&&&&&&&&&&&&&&&                        
                   &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&                   
                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&                
             &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&             
           &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&           
         &&&&&&&&&&&&&&&&&&&&&&(((((((((((&&&&&&&&&&&&&&&&&&&&&&         
       &&&&&&&&&&&&&&&&&&&&&(((&&&&&&&&&&&&(((&&&&&&&&&&&&&&&&&&&&       
     &&&&&&&&&&&&&&&&&&&&&(&&&&&&&&&&&&&&&&&&&((&&&&&&&&&&&&&&&&&&&&     
    ::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&::    
   ::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&::::   
  ""::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&::::""  
 ..""::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&::::"".. 
 ..."":::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&:::::""... 
:"...."":::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&::::::"....":
(&".''.."::::::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&::::::::"".''."&(
x/(:".''.""::::::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&:::::::""..''.:&/x
)\x/&".'''..""::::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&:::::::"".'''."&(x\\
)))\x/&".'''..""":::::&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&:::::""..'''.":(x\)))
%%%%%)\/&".''''.."""::::&&&&&&&:::::::::::&&&&&&&::::"""..''''."&(x))%%%%
))%####%)x(:".''''..."""::::&:::::::::::::::&:::::"""..'''''.:&/\)%###%%)
xx\)%##OO#%\x(:".'''''..."":::::::::::::::::::"""..''''''."&/\%##OO#%))\x
/(/x\\)##O@@O#%\/&:.''''''..."":::::::::::"""..''''''."&(x)#OO@OO#%)\x///
 ((((//x\)%OO@@@O#%)x(&:"..''''....""".....''''..":(x\%#O@@@@O#%)\x/(((( 
 &&(((((//xx\%#O@@$$@@O#%\x/(&::"""""""":::&(/x\)#O@@$$$@O#%)\x//(((((&& 
  &&&&&&(((((//x\)%#OO@$$$$@@OOO##%%%%%##OOO@@$$$$@@O#%)\xx/((((((&&&&&  
   &&&&&&&&&((((((//xx\\)%###OO@@@@@@@@@@@@OO##%%)\xx//((((((&&&&&&&&&   
    &&&&&&&&&&&&&&((((((((///xxxx\\\\\\\xxxx////(((((((&&&&&&&&&&&&&&    
     &&&&&&&&&&&&&&&&&&&&&(((((((((((((((((((((&&&&&&&&&&&&&&&&&&&&&     
       &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&       
         &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&         
           &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&           
             &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&             
                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&                
                   &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&                   
                        &&&&&&&&&&&&&&&&&&&&&&&&&