[tw5] Re: Maths Graphs?

2020-04-27 Thread Ste Wilson
You are AMAZING!!!  Thank you

On Monday, 27 April 2020 07:48:32 UTC+1, bimlas wrote:
>
> You are right:
>
> <$range tiddler="RangeDemo" min="0" max="10" default="5" increment=".01"/> 
> {{RangeDemo}}
>
> <$list filter="[{RangeDemo}]">
>   <$graph color='blue' thickness='1' minX="0" minY="-6" maxY="6" equation="
> Math.sin(x) * parseFloat($tw.wiki.getTiddlerText('RangeDemo'))
>   ">
> 
>
>
> If the value changes, it refreshing the graph.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/81d006f2-e8ee-4797-a55a-c919f8170b2d%40googlegroups.com.


[tw5] Re: Maths Graphs?

2020-04-27 Thread bimlas
You are right:

<$range tiddler="RangeDemo" min="0" max="10" default="5" increment=".01"/> 
{{RangeDemo}}

<$list filter="[{RangeDemo}]">
  <$graph color='blue' thickness='1' minX="0" minY="-6" maxY="6" equation="
Math.sin(x) * parseFloat($tw.wiki.getTiddlerText('RangeDemo'))
  ">



If the value changes, it refreshing the graph.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bfc6cb63-3350-424c-8a0a-c11be9b00771%40googlegroups.com.


[tw5] Re: Maths Graphs?

2020-04-24 Thread Ste Wilson
:D with bugs...that's still pretty damm good!

Thanks!

Going onto and out of edit mode refreshes it too..must be able to get a 
button for that..

Thanks again.

Ste

On Friday, 24 April 2020 12:02:05 UTC+1, bimlas wrote:
>
> Ste Wilson,
>
> You may be also interested in this:
>
> http://graphs.tiddlyspot.com/
>>
>>
> Note: I have no experience with this.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b2b8e913-8c4b-4cc3-a585-301781733230%40googlegroups.com.


[tw5] Re: Maths Graphs?

2020-04-24 Thread bimlas
Ste Wilson,

You may be also interested in this:

http://graphs.tiddlyspot.com/
>
>
Note: I have no experience with this.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/48da2dd0-3c27-4ae4-a752-2e222a86215b%40googlegroups.com.


[tw5] Re: Maths Graphs?

2020-04-24 Thread bimlas

Ste Wilson,

This solution works, but there are several bugs with it:

<$range tiddler="RangeDemo" min="0" max="10" default="5" increment=".01"/> 
{{RangeDemo}}

<$graph color='blue' thickness='1' minX="0" minY="-6" maxY="6" equation="
Math.sin(x) * parseFloat($tw.wiki.getTiddlerText('RangeDemo'))
">


   - It can only display one function (equation parameter) because if you 
   enter the statement between the  tags, it will not work for some 
   reason.
   - If you modify the slider, the graph will not change, but you will need 
   to close and reopen the tiddler.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b860b22-06e4-41c4-818c-fa15145def5d%40googlegroups.com.


[tw5] Re: Maths Graphs?

2020-04-23 Thread Ste Wilson
Don't know why I didn't look at your thing before bimlas!  Thats very 
useful!
Would that method be extendable to say a range slider for say changing a 
variable(drams of sliders and real time graph changes)..

On Monday, 17 June 2019 12:59:45 UTC+1, bimlas wrote:
>
> Very useful plugin, thanks!
>
> With a hidden option, we can even display data tiddlers:
>
> - Go to https://gt6796c.github.io/
> - Create a new tiddler, name it "Coords" and set type to JSON data 
> (application/json)
> - Set the content to "[[3,2],[4,1],[2,5]]"
> - Create another tiddler with the content
>
> <$graph>
> $tw.wiki.getTiddlerData("Coords")
> 1/x
> Math.sin(x)
> 
>
> The first line causing the magic: it gets the (black) points from "Coords" 
> data tiddler (the other lines are not needed, I just want to show that the 
> `$tw.wiki...` is a same Javascript line as the others).
>
> 2019. június 14., péntek 11:05:15 UTC+2 időpontban Ste Wilson a következőt 
> írta:
>>
>> See also 
>>
>> https://gt6796c.github.io/
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43a14c42-8459-4c2c-830b-c1353972eaa8%40googlegroups.com.


[tw5] Re: Maths Graphs?

2019-06-17 Thread bimlas
Very useful plugin, thanks!

With a hidden option, we can even display data tiddlers:

- Go to https://gt6796c.github.io/
- Create a new tiddler, name it "Coords" and set type to JSON data 
(application/json)
- Set the content to "[[3,2],[4,1],[2,5]]"
- Create another tiddler with the content

<$graph>
$tw.wiki.getTiddlerData("Coords")
1/x
Math.sin(x)


The first line causing the magic: it gets the (black) points from "Coords" 
data tiddler (the other lines are not needed, I just want to show that the 
`$tw.wiki...` is a same Javascript line as the others).

2019. június 14., péntek 11:05:15 UTC+2 időpontban Ste Wilson a következőt 
írta:
>
> See also 
>
> https://gt6796c.github.io/
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/286bad72-463d-4118-ac05-ffd48506adb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Maths Graphs?

2019-06-15 Thread Ste Wilson
Dave or other tool maps peeps.. I think they should be added to the list! 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40896653-c997-417b-959c-d2e61b925e45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Maths Graphs?

2019-06-14 Thread @TiddlyTweeter
On Friday, 14 June 2019 10:59:15 UTC+2, Ste Wilson wrote:
>
> Think this might be in the blast from the past category but I think this 
> might do what I want!
>
> https://github.com/gt6796c/graph-tw5
>

Its a super achievement in integrating JS libraries. Very elegant. I think 
its more in the "Gadzooks Batman! Category."

On Friday, 14 June 2019 12:02:12 UTC+2, Mohammad wrote:
>
> This is amazing! Small and smart!!
>
 
Truly is. 

When it came out it didn't get much notice, which was a shame. 

The Mermaid diagramming part is incredibly flexible. It has a slight 
problem with text scaling in some cases.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ed6b317-b60f-4be7-9b03-f4431fb33ca7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Maths Graphs?

2019-06-14 Thread Mohammad
This is amazing! Small and smart!!

On Friday, June 14, 2019 at 1:35:15 PM UTC+4:30, Ste Wilson wrote:
>
> See also 
>
> https://gt6796c.github.io/
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb5f4428-3366-422f-b131-fe44171ad787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.