## 225 Reputation

8 years, 255 days

## Social Networks and Content at Maplesoft.com

Finished Ph.D. in Applied Algebraic Geometry in Biology and did postdoc in Mathematics of Chemical Reaction Networks, University of Copenhagen. Another postdoc in Nonlinear Dynamics in the Mathematical Models of Cell Biology at University of Szeged. Currently a research fellow at Coventry University. Main interests; Applied and Computational Algebraic Geometry, Computer Algebra, Mathematical Biology, Chemical Reaction Network Theory, Population Dynamics. I'm also a language lover!

## Thanks...

@vv Thanks. That explains why the suggestion of @C_R with the "style = line" works.

## Thanks...

@Kitonum Thanks. So the algorithm behind the intersectplot is based on sign changes and that is why in this case it failed to plot the intersection of the first example. The spacecurve workaround is good, but it is possible to use it if one has a aprameterization of the intersection.

## The dimension over complex and over real...

@C_R Thanks, I got your point, but since the plot is over real numbers, it is indeed a curve and not a surface. It would be a surface if it was over complex numbers. Compare x^2+y^2=0 over the reals and over the complex numbers. In one of them it is a point (0 dimension) and over the other one it is a curve (1 dimension).

## Thanks...

@C_R Thanks. This works. But by any chance, do you know why without calling "style = line", the color option does not work?

## Thanks...

@Joe Riel Thanks. This is a really good way, I like it.

## I am surprised myself :)...

@tomleslie You are right. After restarting the worksheet, it gives 6. I couldn't regenerate the 4 again. So I don't have any idea why it was 4 the first time in my worksheet.

## Thanks...

@acer Thanks for the detailed explanation and the example.

## Just to understand better, what does the...

@acer Thank you for the answer and it solved my issue. I understand the uneval quotes which I had tried before, but alone without the colon-dash it was not working here. Can I ask what the colon-dash is doing in this case? I know that colon-dash can be used for calling a procedure from a package, but what does it do in this scenario?

## Thanks, you are right....

@Joe Riel Thanks. You're right. That was a mistyping by me and removing the extra 2, both give `true` ^_^

## Thanks for pointing out about ModuleIter...

@Carl Love Thank you for the clarification, that was really educational for me, because now I can design my manually defined objects better.

## should it be m = M or m in M?...

@Joe Riel Thanks for introducing `andseq`, but just to be sure I got it right, should it be `m = M` or `m in M`? For example

```test := MutableSet({ 1, 5, 8 }):
andseq( type( m, posint ), m in test );
andseq( type( m, posint ), m = test2 );
```

For the second line I get `true`, but for the third line I get `false`.

## Thanks for the update...

@acer Thanks for the update. Now I can read the previous comment. :)
"it is mot working for all" in fact is "it is not working for all" not what I thought the first time; "it is most working for all".

## Thanks...

@acer Thanks for the good suggestion +1

## The extra whitespace was the issue!...

@tomleslie Thanks. I just read the last part of your answer. Indeed the extra whitespaces were causing the error ^_^ Now everything works. It seems yesterday I wrote my usual 4 lines with extra whitespace in the last one, and then I kept copy-pasting them from that worksheet for my next tests.

## The directory was my typo, but fixing th...

@tomleslie Thanks, I fixed the typo for the directory, but that doesn't fix the issue. I tried these 4 lines several times for several works yesterday and I got the similar error. The example in the question is just designed for asking the question. So the typo was not the main problem ^_^ The post is edited now so you can see that my problem was not made because of a wrong directory.

 1 2 3 4 Page 1 of 4
﻿