Ninetrees

395 Reputation

12 Badges

18 years, 193 days

 

________________________________
~Rich~

MaplePrimes Activity


These are replies submitted by Ninetrees

 Some time ago - maybe a year or more - I saw a posting here that referred to looking at the document source that underlies the document displayed in Maple in order to find document errors. I recently copied some lines and put them into the autoexec section of my Maple doc. They look something like this

> restart;
> with(Units);
print(`output redirected...`); # input placeholder
> with(Units[Standard]);

The print statement looks out of place, and caused me to recall seeing another mention of misplaced lines in Maple docs that might get there as a result of repeated editing of the doc. In days past, WordPerfect had a mode that allowed users to actually edit the underlying codes that comprised the document.

I don't know what the equivalent is in Maple, but it seems that the print() statement should not be in my document source code, because I don't see anything in my document that invokes a print () command.

If I copy a block of my document and paste it into the startup code dialog (just to look at it, not to leave it there), I see all sorts of print () statements. Why are they there? Are they errors? Is there another way to see the source, other than pasting into the startup code dialog?

________________________________
~Rich~
http://pubpages.unh.edu/~rlo9/index.html

 Some time ago - maybe a year or more - I saw a posting here that referred to looking at the document source that underlies the document displayed in Maple in order to find document errors. I recently copied some lines and put them into the autoexec section of my Maple doc. They look something like this

> restart;
> with(Units);
print(`output redirected...`); # input placeholder
> with(Units[Standard]);

The print statement looks out of place, and caused me to recall seeing another mention of misplaced lines in Maple docs that might get there as a result of repeated editing of the doc. In days past, WordPerfect had a mode that allowed users to actually edit the underlying codes that comprised the document.

I don't know what the equivalent is in Maple, but it seems that the print() statement should not be in my document source code, because I don't see anything in my document that invokes a print () command.

If I copy a block of my document and paste it into the startup code dialog (just to look at it, not to leave it there), I see all sorts of print () statements. Why are they there? Are they errors? Is there another way to see the source, other than pasting into the startup code dialog?

________________________________
~Rich~
http://pubpages.unh.edu/~rlo9/index.html

In Maple 13, when I press the following (assuming that (1) exists)

Ctrl-L, 1, +, Ctrl-L,1,Enter

I get the expected result, in my case (x+3) + (x+3) = 2x+6.

________________________________
~Rich~
http://pubpages.unh.edu/~rlo9/index.html

So far, Maple is consistently pasting copied 2D Input as 2D Math. But...

I have "discovered" why I was not getting 2D Output when I pressed enter at the end of the 2D Input line as I expected. Though it appears that I am at the end of the line, I am not. It seems that there is a narrow field of something at the end of the math line. I suppose that makes sense, else how would we be able to write text on either end of a math field. Nonetheless, I wasn't expecting something there that I didn't put there, and assumed that I was in the math field when I pressed enter. Now, after I paste something in, I press left-arrow to get back into the end of the math field; then I press enter and get the output with equation label I want.

________________________________
~Rich~
http://pubpages.unh.edu/~rlo9/index.html

So far, Maple is consistently pasting copied 2D Input as 2D Math. But...

I have "discovered" why I was not getting 2D Output when I pressed enter at the end of the 2D Input line as I expected. Though it appears that I am at the end of the line, I am not. It seems that there is a narrow field of something at the end of the math line. I suppose that makes sense, else how would we be able to write text on either end of a math field. Nonetheless, I wasn't expecting something there that I didn't put there, and assumed that I was in the math field when I pressed enter. Now, after I paste something in, I press left-arrow to get back into the end of the math field; then I press enter and get the output with equation label I want.

________________________________
~Rich~
http://pubpages.unh.edu/~rlo9/index.html

 I accidentally "fixed" this problem. My LCD display is 1920x1200. I was looking at a number of issues related to desktop apps, and decided to go to (Windows XP Pro) Display Properties and adjust the scaling that Windows uses for pixels per inch. I calculated the ppi from my screen size and adjusted the ruler in the Advanced dialog of Display Settings. I was interested to see that when the ruler was scaled properly, the ppi matched my calculated values. I then had to resize my desktop settings to put things straight again. When this was done, I thought ti re-check this post and see if I had made a difference in the Table dialog. I had.

So Windows users with these new large LCD displays might do the same thing. The Windows default is either 96 or 120 dpi, and neither of those is correct for my system.

Now the problem is that all the web pages have this really small font on my system, not just here, but all over the web. Seems that web page designers don't have a way to figure out what our display size is and design for 1024x768 (I think).

________________________________
~Rich~
http://pubpages.unh.edu/~rlo9/index.html

I was able to get the correct files uploaded, thanks, but only in a sense, which is why I tried to delete a file. Here is what happened.

I was near the end of an edit session. I had uploaded two files for the message, A and B, when something went amiss. I was left with an empty message box and no clue to what happened. Sooo, I tried again to create the message - several times. Each time I got to the point where I tried to upload A, I got a doalig that said that I had successfully uploaded B and provided a link to it. I closed the browser and re-logged in to try again. Did this several times with the same effect.

Finally logged out, shut down my system to clear any caches, and rebooted. Figured that ought to do it. Not so. I eventually was successful by saving a new version of A and uploading that and gettng a good link to it. Then I renamed B, uploaded it, and got a good link to it. In such a fashion, I was able to finish the post.

I wrote another post with a link to A-original, but saw no further use for B-original, so looked for a way to delete it. Seems to me that I ought to have that ability.

Now for two asides:

It appears that there is no spell checker?

How can I edit one of my posts rather than reply to my own post?

How do I get a line over my name in the sig? My attempt is shown below. The answer will apply to several lines that I'd like to have show up in succession...I looked for Help or tutorial on how to use this system and missed it...thanks...

________________________________

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

Thanks, Doug.  I tried resizing the plot, saving, closing, re-opening, and re-executing the document. It all worked well, thanks. I am new to Maple, and had seen another reference to using the embedded plots because the inline plots couldn't be resized. Not true, I see. I am especially happy to see that the plot retains its size when the command is re-exec'ed.

I'd be most happy if the properties you mentioned could be set on a plot-by-plot basis as will as globally, as I can well imagine that I'd want those properties to be varied on a plot-by-plot basis. In particular, I'd like control over the size of a plot.

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

3) On Mac it is possible: View > Open Tab in a new Window

This is also possible in Windows...

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

3) On Mac it is possible: View > Open Tab in a new Window

This is also possible in Windows...

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

I agree that the 1D format works better i many circumstances. But the future of this product is in its 2D capability, and that is the capability that I wish to learn and evaluate.

WRT the ""Teal"" issue, you are correct: "Teal" is what gets copied because Maple does not automatically select what is *inside* the quotes when you double-click, it selects the quotes, too. If you are copying from one place in a document to anotehr, that is fine because if you select another target to overwite that is exactly the same length as the item yuo copied, they both match WRT to content and quotes.

If, however, you copy from Help, the Help editor performs as I expect it to: it copies only the text, not the quotes. Unfortunately, if I copy Teal from Help and want to replace "Red" in Maple source, I cannot simply double-click "Red" because that will replace "Red" with Teal and I will get a syntax error for the missing quotes.

Also, if I select "Teal" from some Maple source and want to replace Red in the string "Red is not the color I want." I get ""Teal" is not the color I want." for another syntax error. Clearly, the solution to the mess is to have Maple behave as other editors do, and select only what is in the quotes, not the quotes themselves.

...and you are correct again, I can click and drag to select my sources and targets, but that is not the best solution to this problem in the long run.

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

Thanks for such a clear and detailed reply, Doug. I did exactly as you recommended, including using a button, and learned a great deal from it.

I removed the plot () command from each of the components and put them in Do () commands in the button Action. The button works as I expected.

Thanks much,

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

Dear Scott,

I tried surfacecontour > surface and like it much better, thanks. I also played with thickness to no avail. I had thought that the dot, as the last plot in the series, would be plotted "on top (of a 2D plot)" of the previous plots.

By changing the orientation from "orientation = [-90, 0]" to "orientation = [-90, 1]", I can get the dot appear, and the graph is not changed substantially...

Your last remark gets at the heart of the problem: the component is not automatically updated! (See the following post to see how to address that.)

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

Good question, Doug. I believe that I need to use the compo0nent because I want the displayed graph to be much smaller than it appears by default, and the only way I know of to get that is to put it into a Plot component and set the Height and Width in pixels. If there is a way to change the inline plot size, I'd prefer to use it.

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

Good morning, David,

Thanks for the reply. I am new to Maple...I understand the difference between the 1st and 2nd plot...my concern is with the first plot in the plot component.

I am running Windows XP Pro SP2.

When I open this doc on my system, I see the inline plot displayed correctly, but the embedded plot is not. There is no red line.

If I change plot p13 and re-execute the doc, I expect to see the embedded plot update. It does not. I am beginning to suspect that it does not by design; rather, the component takes a /snapshot/ of the last time the Plot Expression was changed and displays that. This means that I must remember to edit the embedded component each time I change something that affects what it contains.

It would be so much easier if I didn't need to use the embedded component, but I suspect that I will use the components more as I get better with Maple and my docs become more sophisticated.

~Rich~

http://pubpages.unh.edu/~rlo9/index.html

1 2 3 4 5 6 Page 4 of 6