JuliaPy / JuliaPy/PyPlot.jl

3D plots not clipped at axis limits

Đang mở
#70 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
488
Fork
90
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Simple reproduce script:

``` julia
using PyPlot

# Create a figure with a 3D plot
subplot(111,projection="3d")

# Plot a curve
t = 0:.1:6pi
plot(cos(t),sin(t),t) # nice helix around z axis

# Restrict domain
xlim(0,1)
ylim(0,1)

# Domain for "backdrop is now restricted, but entire helix still drawn!
```

I don't know if this is a problem in `PyPlot.jl` or a more fundamental one in `matplotlib` - for some reason I can't get `matplotlib` working with 3d projections at all when running from plain python. If someone else can get that working, and verify that it's an issue with `matplotlib` rather than `PyPlot`, I'll file the issue there instead.

FWIW, I have `PyPlot` 1.2.9, `matplotlib` 1.3.1, running

```
julia> versioninfo()
Julia Version 0.3.0-rc1+27
Commit 9e5ffd6 (2014-07-15 08:13 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas
LIBM: libopenlibm
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.