Items tagged with text text Tagged Items Feed

Hi there,
I am wondering how to print parentheses in the legend of an odeplot.

The following command

odeplot(numsolnf, [[t, CECnf(t)], [t, VECnf(t)], [t, CICnf(t)], [t, VICnf(t)]], 0..50, opts, legend = ['Extracelular urea concentration (mg/dL)', 'Extracelular urea volume (L)', 'Intracelular urea concentration (mg/dL)', 'Intracelular urea volume (L)'])

where numsolnf is the numerical solution of the equation system composed by CECnf(t), VECnf(t), CICnf(t), and
VICnf(t) produces no parentheses.

And the "Extracelular urea concentration (mg/dL)" and "Intracelular urea concentration (mg/dL)" are displayed as if the whole text was a quotient:

Extracelular urea concentration mg

Any ideas about how to solve these issues?


How is vertical text created in a plot?  It would be similiar to using the labeldirection option set to "vertical", but my text in question will be an annotation within the field of the plot.  A more general question would be how to place rotated text within a plot.    

I have a Text Region (made with T tool) which does contain some math elements. However, as I understand it, such a region should not be executable. When execution is attempted (by using ! with the cursor in the region), the cursor should sinply jump to the next group (executable or not). Instead, I get the following output error line as though it were an execution group and the cursor remains in the region.

Error, "=" unexpected

How is this possible?  Is there s code hidden behind the visible text that causes this?

This happens even after I copy the whole text in the region to a text region in another worklsheet.

I have some variables which usually have a specific value. I also have some parameters which are calculated using the previously mentioned constants. Sometimes though I want to change the value of the constants and re-calculate the parameters. Therefore I created a library with the initial values of the constants which I load inside a procedure which calculates the parameters. That way I can change the value of the constants and the initial values are not overwritten. My problem is that I want to export the calculated parameters and the value of the constants at the specific calculation. How do I do that_ I don't have an array, table or anything like that. Should I put my parameters in a table?

Thank you for your time.

I want to write an equation in the text portion of my document.  I do not need it evaluated. I just want to write formulas, like I do in LaTeX. 

Hi there

I'm working with maple 13 (2d input) and I would like to hide the input in a worksheet, as follows:

view > show/hide contents > (unchecking) input

however i want to insert comments as text that will remain in my worksheet. Using '#' doesn't help, coz they get hidden too.

Couldn't sort out how to do this, any tips?


for example i want to save the Square root of 2 to 1000000 decimal place to an ascii text file ...

i used the writeto command after evalf[100](sqrt(2)) for but it contains line breaks and \ character in output !

but i only need the pure continues 1000000 digits !

please guide me on this simple request ?

Dear all,

I want to compute the charateristic polynomials of some matrices (the number of matrices is more than 10000), and write the coefficients of the resulting polynomials to a text file. The entries of the given matrices are stored in a text file. More specifically, suppose that M_1, M_2 and M_3 are three matrices, and the entries of them are stored in a text file named "data.txt" in the following form:

1 2 3

4 5 6

7 8 9


1 -1 0

2 3 6

-3 0 2


2 1 -1

1 -1 -2

0 1 2

The resulting output file should be of the following format:

1, -15, 18, 0

1, -6, 13, -28

1, -3, 1, 3

I don't know how to repeatedly read the data from the given text file. I think the procedure should be as follows.





>fid_1:=Open("data_1.txt"): #data_1 is the output file

>ReadFile(fid); #since the number of matrices is very large, I want the data to be read once


>for i from 1 to numlines do

       here I need repeatedly read the data to a matrix M (I don't know how to do);


       writedata[APPEND]("data_1.txt",map(i-> coeff(p, x, i), [seq(i, i = 0 .. degree(p, x))]));  #this statement cannot write the coefficients of a polynomial in the same row

>end do;



Now as I'm pretty new to Maple, I don't know any better and can't seem to get any information out of the help documents. 

Thanks a lot.


I am programing the RSA-Algorithm. Somewhere in the program the user gets the choice to get a rough summary of the algorithm and the various steps used.

To do that I wrote a 1 1/2 page summary in Word. To see how the text is displayed withing the Window I took the first paragraph of my summary and put it in the following code:


mapletExplainRSA := Maplet(Window('title' = "Erfahre mehr über RSA",

["Das verschlüsseln und entschlüsseln einer Nachricht dient der sicheren Kommunikation. Es existieren bereits Methoden der sicheren Kommunikation. Eine davon nennt man „one way ciphers“ oder „trap door ciphers“.  „One way“ da obwohl alle eine Nachricht verschlüsseln können, nur einer sie entschlüsseln kann. Für jedes Verschlüsselungsverfahren gibt es einen Schlüssel für das verschlüsseln und einen anderen Schlüsseln für das entschlüsseln.",

[Button("Nachricht verschlüsseln", Shutdown("True")), Button("Abbrechen", Shutdown())]]));



The problem is that when I run this code the whole paragraph is written on the same line and hence does not even fit in the Maplet Window. Is there a way so that my rather long text will be formatet nicely within the Maplet window. Just like it would be displayed using Word. That is a text in paragraph style where sentences are wrapped automatically.



We have two texts in a certain language, represented as Maple  strings,  e. g.
"die einkommen der landwirte sind fuer die abgeordneten ein
buch mit sieben siegeln um dem abzuhelfen muessen dringend alle
subventionsgesetze verbessert werden" and
"die steuern auf vermoegen und einkommen sollten nach meinung
der abgeordneten nachdruecklich erhoben werden dazu muessen die
kontrollbefugnisse der finanzbehoerden dringend verbessert werden".
We have to find the maximal common subsequence of the words in the both texts,
i.e. "die  einkommen der abgeordneten muessen dringend verbessert werden" for
the above. If there are a few such ones, then only one is enough. How to program
that by SringTools and/or EssayTools in maximum efficient way? A compiled procedure is welcome.

Hello those who attends Mapleprimes,


I have a question.

A programme was written in a text:



if n=0 then


elif n=1 then


elif n=2 then


elif n=3 then


else error "bad argument: \%1", n;

end if; 


The answer of this programme was 

 error bad argument.


What I couldn't understand was the meaning of \%1

Could you tell me about it to me?


Thanks in advance.


I have a vector that looks like this:


Now in order to make the api call it has to be expressed as:,GOOG.NASDAQ_AAC.4,GOOG.NASDAQ_AACC.4

or as:


How would I make that transformation?
It looks simple but it is difficult ie string notation and you cant copy past (thousands of stocks). 


Dear All,

please help me with my problem. i have quite a big program all parts of which are distributed in the several code edit regions and in the main text. i'd like to find all occurenses of gven text in all open documents including code edit regions. i know how to do it manually by openening each code edit regiong and pressing Ctrl-F. however it is very time consuming and defocuses me apart from my main tasks. i'd prefer to use some combinations of 'hot keys' on the keybord or one or two mouse clicks as for example in MS Visual Studio.  

 Can't copy from Maple worksheet and paste here in the Mapleprimes text editor. It's very cumbersome when one needs to detail technical examples. Is there a way to copy and paste?Thanks


I'm very new to Maple and need some help.

I have a Matrix with the structure

M:= Matrix([[2013-08-13T00:29:24+0000,"text1"],[2013-08-14T00:29:24+0000,"text2"],[2013-08-15T00:29:24+0000,"text1"],[2013-08-16T00:29:24+0000,"text1"]])


and would like to plot this. Now problem one obviously is, it contains a timestamp. How can I use this in Maple? Second problem is, "text1" is a string, so I cannot use plotlist because it can not be converted to a float.

1 2 3 Page 1 of 3