From: SourceForge.net <noreply@so...>  20120520 05:49:02

Bugs item #3528329, was opened at 20120519 22:49 Message generated for change (Tracker Item Submitted) made by shalvaz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=3528329&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core  Plotting Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Shalva (shalvaz) Assigned to: Nobody/Anonymous (nobody) Summary: Define functions and plotting Initial Comment: We define a function f as f(x):=block([],if(x>=1 and x<1/4) then return(2),if(x>=1/4 and x<0) then return(1),if(x>=0 and x<1/4) then return(1),if(x>=1/4 and x<1) then return(2)); If I try plot2d(f,[x,1,1]); appears: "plot2d: expression evaluates to nonnumeric value somewhere in plotting range." but plotting window appears and graphic of the function f is correct. If I try plot2d(f(x),[x,1,1]); appears: return: not within 'block' return: not within 'block' return: not within 'block' ... plot2d: expression evaluates to nonnumeric value somewhere in plotting range. plotting window not appears in this case.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=3528329&group_id=4933 