JuliaPy / JuliaPy/PyPlot.jl

3D plots not clipped at axis limits

Aperta
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
488
Fork
90
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.