Giter Site home page Giter Site logo

Comments (5)

jeanluct avatar jeanluct commented on July 27, 2024

From Jean-Luc Thiffeault on 2014-02-11 20:31:26+00:00

Yeah, we do various clf's and hold's in that function that I'm not sure are the right way to go. Maybe we should find an example in Matlab's own functions that shows what the proper procedure is for setting up a robust plot.

This is probably the problematic part:

#!matlab

if ishold
  holdstate = true;
else
  holdstate = false;
  clf reset
end

Let me experiment with a few things.

from braidlab.

jeanluct avatar jeanluct commented on July 27, 2024

From Jean-Luc Thiffeault on 2014-02-11 20:38:59+00:00

Commented-out 'clf reset' in 76181ed.

from braidlab.

jeanluct avatar jeanluct commented on July 27, 2024

From Jean-Luc Thiffeault on 2014-02-12 15:12:45+00:00

Do not clf figures. Resolves issue #43.

→ <<cset 818ba70ea9ca>>

from braidlab.

jeanluct avatar jeanluct commented on July 27, 2024

From Jean-Luc Thiffeault on 2014-02-20 19:21:06+00:00

Well, this is probably related to this earlier bug so I'll reopen.

Two problems. The first is that plot(loop) doesn't seem to properly "clear" the previous figure:

#!matlab
close all
imagesc([1 1])
plot(loop)

The second is probably related: successive plot(loop) commands cause the image to "shrink":

#!matlab
close all
for i = 1:10; plot(loop); end

Need to find a good example of what to do when preparing a plot.

from braidlab.

jeanluct avatar jeanluct commented on July 27, 2024

From Jean-Luc Thiffeault on 2014-02-21 00:02:07+00:00

Add 'cla' (see comment in code) and do 'axis tight' before rescaling so multiple plots don't shrink fig. Resolves issue #43 (again).

→ <>

from braidlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.