Skip to content

Commit

Permalink
plot
Browse files Browse the repository at this point in the history
  • Loading branch information
bilam committed Oct 15, 2013
1 parent aa6fbdb commit 38d4c48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions assets/addons/graphics/plot/jzplot.ijs
Expand Up @@ -3,19 +3,16 @@ require 'graphics/afm graphics/color/colortab graphics/bmp'


3 : 0'' 3 : 0''
if. 0 ~: 4!:0 <'JHSOUTPUT' do. JHSOUTPUT=: 'canvas' end. if. 0 ~: 4!:0 <'JHSOUTPUT' do. JHSOUTPUT=: 'canvas' end.
if. 0 ~: 4!:0 <'CONSOLEOUTPUT' do. CONSOLEOUTPUT=: (UNAME-:'Android'){::'pdf';'android' end. if. 0 ~: 4!:0 <'CONSOLEOUTPUT' do. CONSOLEOUTPUT=: 'pdf' end.
if. 0 ~: 4!:0 <'IFTESTPLOTJHS' do. IFTESTPLOTJHS_z_=: 0 end. if. 0 ~: 4!:0 <'IFTESTPLOTJHS' do. IFTESTPLOTJHS_z_=: 0 end.
if. IFTESTPLOTJHS +. IFJHS do. if. IFTESTPLOTJHS +. IFJHS do.
elseif. IFQT do. elseif. IFQT do.
require 'graphics/gl2' require 'graphics/gl2'
coinsert 'jgl2' coinsert 'jgl2'
elseif. IFJCDROID do. elseif. IFJCDROID do.
if. 0 < #1!:0 jpath '~addons/gui/android/android.ijs' do. require 'graphics/gl2 droidwd gui/android'
require 'graphics/gl2 droidwd gui/android' coinsert 'jgl2 jni jaresu'
coinsert 'jgl2 jni jaresu' CONSOLEOUTPUT=: 'android'
else.
if. CONSOLEOUTPUT-:'android' do. CONSOLEOUTPUT=: 'pdf' end.
end.
elseif. do. elseif. do.
if. (UNAME -: 'Linux') *: (0 -: 2!:5 'DISPLAY') do. if. (UNAME -: 'Linux') *: (0 -: 2!:5 'DISPLAY') do.
if. 0 < #1!:0 jpath '~addons/graphics/gl2/gl2.ijs' do. if. 0 < #1!:0 jpath '~addons/graphics/gl2/gl2.ijs' do.
Expand Down
2 changes: 1 addition & 1 deletion assets/addons/graphics/plot/manifest.ijs
Expand Up @@ -6,7 +6,7 @@ DESCRIPTION=: 0 : 0
2D Plot 2D Plot
) )


VERSION=: '1.0.134' VERSION=: '1.0.135'


DEPENDS=: 0 : 0 DEPENDS=: 0 : 0
graphics/afm graphics/afm
Expand Down

0 comments on commit 38d4c48

Please sign in to comment.