Maple - Error (in plots:-display)

In summary, the conversation discusses the use of the Maple software to plot points and graphs. An error is encountered when attempting to use the pointplot command, which is resolved by using the plot command and configuring the plot options using setoptions.
  • #1
darida
37
1
I tried this on maple:

eps1 := [0, 1/5, 2/5, 3/5, 4/5, 1]:
start1 := 2.3:
base1 := 1.1:
for i from 1 to 6 do
R := start1*base1**0:
points1 := [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1}))]:
for a from 1 to 20 do
R := start1*base1**a:
points1 := points1, [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1}))]:
end do:
end do:
plots[display]({
setoptions(symbol = diamond, symbolsize = 12, color = black),
plot([points1[1]]), pointplot([points1[1]]),
plot([points1[2]]), pointplot([points1[2]]),
plot([points1[3]]), pointplot([points1[3]]),
plot([points1[4]]), pointplot([points1[4]]),
plot([points1[5]]), pointplot([points1[5]]),
plot([points1[6]]), pointplot([points1[6]]),
},
textplot({[16,1.0, epsilon_ = 0.0],[16, 0.95, epsilon_ = 0.2],
[16, 0.84, epsilon_ = 0.4],[16, 0.95, epsilon_ = 0.6],
[16, 0.5, epsilon_ = 0.8],[16, 0.29, epsilon_ = 1.0]},
align={right},font=[TIMES,ROMAN,12]),
axes=boxed,
axis[1] = [mode = log, gridlines = [8, thickness = 1, subticks = false, color = grey]],
axis[2] = [gridlines = [color = grey]],
view = [2 .. 16, .25 .. 1.03]
);

But got this error:
Error, (in plots:-display) cannot make plot structure from object with name pointplot

What is wrong here?

Source: "www.diva-portal.org/smash/get/diva2:114136/FULLTEXT01.pdf‎"
Edit: Appendix A
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
.1 from the link above.The error is indicating that the pointplot is not valid. You need to use the plot command for both the plot and the pointplot. You can also use the setoptions command to configure the plot options. For example:eps1 := [0, 1/5, 2/5, 3/5, 4/5, 1]:start1 := 2.3:base1 := 1.1:for i from 1 to 6 do R := start1*base1**0:points1 := [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1}))]:for a from 1 to 20 do R := start1*base1**a:points1 := points1, [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1}))]:end do:end do:plots[display]({setoptions(symbol = diamond, symbolsize = 12, color = black),plot([points1[1]], style=point, symbol=diamond),plot([points1[2]], style=point, symbol=diamond),plot([points1[3]], style=point, symbol=diamond),plot([points1[4]], style=point, symbol=diamond),plot([points1[5]], style=point, symbol=diamond),plot([points1[6]], style=point, symbol=diamond),},textplot({[16,1.0, epsilon_ = 0.0],[16, 0.95, epsilon_ = 0.2],[16, 0.84, epsilon_ = 0.4],[16, 0.95, epsilon_ = 0.6],[16, 0.5, epsilon_ = 0.8],[16, 0.29, epsilon_ = 1.0]},align={right},font=[TIMES,ROMAN,12]),axes=boxed,axis[1] = [mode = log, grid
 

Related to Maple - Error (in plots:-display)

What is Maple - Error (in plots:-display)?

Maple - Error (in plots:-display) is an error that occurs in the Maple mathematical software when there is an issue with displaying a plot. This error typically occurs when there is a problem with the plot data or the plotting function.

What causes Maple - Error (in plots:-display)?

Maple - Error (in plots:-display) can be caused by a variety of factors, such as incorrect plot data, incorrect usage of the plotting function, or an issue with the Maple software itself. It is important to carefully review the plot data and the plotting function to identify the specific cause of the error.

How can I fix Maple - Error (in plots:-display)?

The best way to fix Maple - Error (in plots:-display) is to carefully review the plot data and the plotting function to identify and correct any errors. It may also be helpful to check for any updates or patches for the Maple software that may address this error.

Can I prevent Maple - Error (in plots:-display) from occurring?

While it is not always possible to prevent Maple - Error (in plots:-display) from occurring, there are some steps you can take to minimize the chances of encountering this error. These include carefully checking and validating plot data, using the correct syntax for the plotting function, and keeping the Maple software up to date.

Is there any support available for Maple - Error (in plots:-display)?

If you are encountering Maple - Error (in plots:-display), the best resource for support is the Maple community. You can search for solutions online or post your question on a Maple forum to get help from other users and experts. Additionally, the Maple software may have built-in help or support resources that can assist with troubleshooting this error.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
7K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
Back
Top