Coder Social home page Coder Social logo

topfdrummer / setlx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from herrmanntom/setlx

0.0 0.0 0.0 21.09 MB

setlX is an interpreter for the high level programming-language SetlX (set language extended).

Home Page: http://setlX.randoom.org/

License: Other

C 0.01% Makefile 0.05% TeX 22.67% Shell 0.89% GAP 1.82% Java 74.46% Emacs Lisp 0.04% Batchfile 0.06%

setlx's People

Contributors

autarchprinceps avatar herrmanntom avatar karlstroetmann avatar seeron avatar topfdrummer avatar

Watchers

 avatar

setlx's Issues

minimal addGraph doesnt function

g1 := plot_addGraph(can, "sin(x)");

Error in "g1 := plot_addGraph(can, "sin(x)")":
Error in "plot_addGraph(can, "sin(x)")":
Error in "procedure( canvas , functiondefinition , graphname , graphcolor := 1, plotarea := 1) { /* predefined procedure `plot_addGraph' */ }(can, "sin(x)")":
'plot_addGraph( canvas , functiondefinition , graphname , graphcolor := 1, plotarea := 1)' is defined with at least 3 instead of 2 parameters.

Colorlist in addParamGraph doesnt get recognized

trying to create a ParamGraph with a color specified, e.g. g1 := plot_addParamGraph(c, "cos(x)", "sin(x)", "circle", [-3.15, 3.15], [255,0,0]); returns "Parameter graphcolor have to consots of exact three values(RGB)" even though its correctly defined.

Type checking

At the moment the parameter given to the predefined functions are not checked if they have the right type. If a parameter have the wrong type the typecasting or later access to it will mostly fail and an internal setlX error gets thrown

Calcfunction incorrect

after using g1 := addGraph(c, "x*_2 -2"); wrong graph is showing. addGraph(c, "x_x -2"); works fine.

(-1)**2 returns -1. Probably paranthesis missing

Error when defineTitle on empty Canvas

c := plot_createCanvas();
plot_defineTitle(c, "asdf");

throws an Internal error.
This comes from an Nullpointer Exception in DrawFrame:
when calling chartPanel.setName(title) in an empty Canvas, the chartPanel field is null

Bullet Labels

A function is needed, to insert text at a given coordinate

X-Axis/Y-Axis

Currently the Canvas with Graphs does not show any axis. Therefore it is a bit confusing because normally you would expect some axis as orientation.
Is there a need for PD-methods defining x/y axis?

optional Parameter in Predefined functions

If a function with more than one optional parameter is called and the first optional parameter ist left out, the wrong parameter is assigned.
Example: addGraph(canvas, function, [graphname], [plotarea]);
if graphname is left out, but plotarea is given as true, than the graph gets called "true"

BulletSize with int

AddBullets throws an error, when an int instead of a double is used for the bulletsize

support for vertical lines

how should vertical lines be supported?
i tried addLineGraph, but this showed only the dots but no line between them.
Is there a own PD-Function needed?

no y axis when calling modScale after modScaleType

c := plot_createCanvas();
g := plot_addGraph(c, "x*_3+x_x+2*x-1", "graph to mod scale");
plot_modScaleType(c, "num", "log");
plot_modScale(c, [-10, 10], [-1000, 1000]);

After this my y-axis no longer exists

Resize Plot Window

Die Größe des Fensters, in dem der Plot angezeigt wird, kann nicht verändert werden. Das ist insbesondere dann ein Problem, wenn ich mit einem Surface Pro mit einer hohen Auflösung arbeite, denn dann wird das Fenster viel zu klein. Was man braucht, ist entweder Fullscreen oder die Möglichkeit, die Größe des Fensters ähnlich wie bei modScale per Funktionsaufruf einstellen zu können. Das Problem ist, dass ich das Fenster momentan zwar maximieren kann, aber dass der Plotbereich sich dabei nicht verändert.

strange behavior of modScale

Wanted to mod Scale with:

c := createCanvas();
g1 := addGraph(c, "x**3");
modScale(c, [-5, 5], [-5, 5]);

got a x : -6 to -5 and y: -6 to -5 scale

modScale parameter switched

Parameter are handled as Canvas, [x_max, x_min], [y_max, y_min] instead of the intended Canvas, [x_min, x_max], [y_min, y_max]

Order of Elements in the arrays is switched

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.