mkulesh / microMathematics

microMathematics Plus - Extended visual calculator
GNU General Public License v3.0
566 stars 68 forks source link

Implement logarithmic scale for function plot #74

Closed mkulesh closed 6 years ago

jinx100 commented 6 years ago

Here's an mmt file which has some problems if I try adding a log scaled x range to a plot. The x and y lists seem to be created. Oops, can't drop it even disguised as text or xlsx. Trying code box.

`<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>

`
jinx100 commented 6 years ago

I see now a calculated sequence cannot be used in a plot. Maybe modify the builtin sequence generator to accept Xstart, Xend and number of spaces with a choice of linear or geometric spacing. This would give even spacing on log plots.

mkulesh commented 6 years ago

Hi @jinx100 , thanks for testing this issue. The problem is that your x2 variable indirectly uses N2 index. Confusing is, that an indirect variable can be shown in a text result view, but can not be used in a plot. You can change x2 to an array and it will work fine:

screenshot_20180626-130851

jinx100 commented 6 years ago

That does work well. Thank you.

mkulesh commented 6 years ago

Ready to be delivered with version 2.17.2

mkulesh commented 6 years ago

Ready to be delivered with version 2.17.2