Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: not found: value plot #7

Closed
ehsanmok opened this issue Jun 22, 2015 · 3 comments
Closed

error: not found: value plot #7

ehsanmok opened this issue Jun 22, 2015 · 3 comments

Comments

@ehsanmok
Copy link

When I run the first example,

import org.sameersingh.scalaplot.Implicits._

val x = 0.0 until 2.0 * math.Pi by 0.1
output(PNG("docs/img/", "test"), plot(x ->(math.sin(), math.cos())))

scala cannot find the plot function.

@sameersingh
Copy link
Owner

Did you include the implicits import (import
org.sameersingh.scalaplot.Implicits._)?

The example is also checked in as a test, which passes:
https://github.com/sameersingh/scalaplot/blob/master/src/test/scala/org/sameersingh/scalaplot/ExampleXYTest.scala#L142

On Mon, Jun 22, 2015 at 2:39 PM, Ehsan M. Kermani notifications@github.com
wrote:

When I run the first example,

output(PNG("docs/img/", "test"), plot(x ->(math.sin(), math.cos())))

scala cannot find plot function.


Reply to this email directly or view it on GitHub
#7.

@ehsanmok
Copy link
Author

Yes, I did.

@sameersingh
Copy link
Owner

Ah sorry, it should be xyChart instead of plot. I should update the
README.

On Mon, Jun 22, 2015 at 2:43 PM, Ehsan M. Kermani notifications@github.com
wrote:

Yes, I did.


Reply to this email directly or view it on GitHub
#7 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants