Sauberschrauber

30 Reputation

3 Badges

1 years, 61 days

MaplePrimes Activity


These are replies submitted by Sauberschrauber

Hello Anthrazit, 

yes, that is true. You can switch it on but it does nothing. 

And there is another speciality : you cannot change the position of files within the workbook. 

This feature Is known, Mr. Richard is confident that this will be solved in the next update.

Best regards, 

Klaus

Dear dharr,

yes, you understood me perfectly.
That looks very much like the solution. I will try it as soon as I am back to my computer..

Thank you very much!

 

Best regards,

Klaus

Dear Forum , 

exuse me for picking up this quite old and solved question.
I had the same question and was a bit astonished to see such a complex solution. 

I set up a litte file and made one code region invisible. When I save it and open it as ascii-file in the editor I can search for "invisible" . 

This shows :
</Group></Presentation-Block><Presentation-Block><CodeEditor-ExecGroup view="presentation" hide-input="false" inline-output="false" labelreference="L9" drawlabel="true" applyint="true" applyrational="true" display="code"><EC-CodeEditor id="CodeEditRegion1" expanded="true" visible="false" pixel-width="500" pixel-height="200" code-language="text/maple" autofit="true" wrapping="true" show-border="true" code-line-numbers="true">Juhu :=2;</EC-CodeEditor>
<Output><Text-field style="2D Output" layout="Maple Output"><Equation executable="false" style="2D Output" 

 

When I change "false" to "true", my CodeEditRegion is back. 

Is this a simpler way or is there a trap I don't see ?

 

Best regards, 

Klaus

Testtext

 

 

Hallo:=3;

3

noch ein Testtext

 

Juhu :=2;

2

Ende Testtext

 

Juhu+Hallo = 5NULL

NULL


 

Download versteckt.mw

@Joe Riel 

yes, that is true. - see my last post. The function was only a (not well chosen) example.

Best regards,

Klaus

Dear all,

thank you for the discussion, that was very enlightening.
I was a little hasty since I only looked at the "if()" not working at all. 
but  "plot(funktion, r1..r2)" does what I want.

1/x, where is a length in m, will of cause not fit into a plot where another part of the result is a length. So I have to  "fill up" my units and then I get a proper result and a proper evaluation of my if-statment.

(My real code is quite entangled, I did not want to show the whole mess...)
There are many nested functions, this method still works fine.

restart;
with(Units[Simple]);

funktion := x -> if 2*Unit('m') < x then Unit('m'^2)/x; else 2*Unit('m'); end if;
r1 := 1.0*Unit('m');
r2 := 6*Unit('m');

 

plot(funktion, r1 .. r2);

best regards,

 

Klaus

 

Thank you very much for that quick answers !
Funny thing that newbies always find the potholes :-)

I will change my code and try that.

Best regards and a nice weekend to you all !

Klaus

 

 

Page 1 of 1