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

xlim and ylim #25

Closed
10 of 15 tasks
joshday opened this issue Sep 19, 2015 · 4 comments
Closed
10 of 15 tasks

xlim and ylim #25

joshday opened this issue Sep 19, 2015 · 4 comments

Comments

@joshday
Copy link
Contributor

joshday commented Sep 19, 2015

I hope this isn't something I missed. Feature request for something similar to R's xlim and ylim plot arguments for specifying the endpoints for the axes.

Ticks:

  • Gadfly/Immerse
  • PyPlot
  • Qwt
  • UnicodePlots (not possible?)
  • Winston (not possible?)

Limits:

  • Gadfly/Immerse
  • PyPlot
  • Qwt
  • UnicodePlots
  • Winston

Tick labels:

  • Gadfly/Immerse
  • PyPlot
  • Qwt (not possible?)
  • UnicodePlots (not possible?)
  • Winston (not possible?)
@tbreloff
Copy link
Member

You didn't miss it. I also need to add the ability to set tick labels and grid lines.

In general, you can always access the underlying plotting package directly. I export Gadfly for example, and you can get the underlying plot object from the "o" field. So if there's something missing you should still be able to access the underlying functionality.

On Sep 18, 2015, at 9:55 PM, Josh Day notifications@github.com wrote:

I hope this isn't something I missed. Feature request for something similar to R's xlim and ylim plot arguments for specifying the endpoints for the axes.


Reply to this email directly or view it on GitHub.

@tbreloff
Copy link
Member

Mostly done with limits/ticks for Gadfly/Immerse... I'll add some checkboxes to your comment to keep track. For now, there are lots of ways to update. I'll push to master soon:

using Plots
plot(rand(100), title="Changing ticks and axis limits")
plot!(xlims=(25,75),xticks=25:5:75)
ylims!((0.6,0.8))
yticks!([0.6,0.63,0.7,0.8])

tmp

@joshday
Copy link
Contributor Author

joshday commented Sep 23, 2015

👍

@tbreloff
Copy link
Member

This is as complete as I'm going to make it on first pass. I'll close the issue, and if anyone wants more extensive functionality (and it's possible for that backend) I'll open separate issues.

jheinen added a commit that referenced this issue Oct 31, 2023
…31-01-13-38-000-04060721714

CompatHelper: add new compat entry for Statistics at version 1, (keep existing compat)
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