help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Line plotting not working in an Octave 3.8.1 script


From: Fausto Arinos de A. Barbuto
Subject: Re: Line plotting not working in an Octave 3.8.1 script
Date: Wed, 11 Jun 2014 09:32:40 -0700 (PDT)


Hi Helios,

Thanks for your help.

On Wednesday, June 11, 2014 12:47:22 PM, Helios de Rosario <address@hidden> wrote:

>Can you try
>graphics_toolkit gnuplot
>before plotting, and tell us what you see?

I got the very same results.  No line, only circles or diamonds or both.

I should perhaps share the scripts with you. It's not too long, some 50-60 lines.
I don't know what's the etiquette for posting files here. Are zipped attachments
acceptable? Should I cut the scripts and paste them a post? Not sure.

Fausto




On Wednesday, June 11, 2014 12:47:22 PM, Helios de Rosario <address@hidden> wrote:


>>On Jun 11, 2014, at 10:17 AM, Fausto Arinos de A. Barbuto
> <address@hidden> wrote:
>>
>>
>>> Hi,
>>>
>>> I wrote a script containing a plot() command aimed at plotting two
>>> curves on the same chart.  When the command has the following
form:
>>>
>>> plot(arg,t,'bd',arg, sqrt(arg)*besselj(1,
2.0*sqrt(2.0*arg)),'r‑');
>>>
>>> The 1st curve is plotted with neat blue diamonds but the second
>>> curve, that should display a red line, is not plotted.  Then when
>>> I invert the markers:

[And a couple of messages later:]

> And, sorry for that, but I forgot to say that the following command:
>
> plot(arg,t,'bd',arg,sqrt(arg)*besselj(1, 2.0*sqrt(2.0*arg)),'ro');
>
> plots BOTH curves ‑‑ the 1st with blue diamonds, the 2nd with red
> little circles.  So, the problem is apparently related to the use of
> lines as markers.  Mystery.
>
> Fausto

Perhaps related to:
http://savannah.gnu.org/bugs/?42534
?

(Although the bug reported there is related to printing the plot into a
file, the plot on screen was ok.)

Can you try
graphics_toolkit gnuplot
before plotting, and tell us what you see?

Regards
Helios

INSTITUTO DE BIOMECÁNICA DE VALENCIA
Universidad Politécnica de Valencia • Edificio 9C
Camino de Vera s/n • 46022 VALENCIA (ESPAÑA)
Tel. +34 96 387 91 60 • Fax +34 96 387 91 69
www.ibv.org

  Antes de imprimir este e-mail piense bien si es necesario hacerlo.
En cumplimiento de la Ley Orgánica 15/1999 reguladora de la Protección
de Datos de Carácter Personal, le informamos de que el presente mensaje
contiene información confidencial, siendo para uso exclusivo del
destinatario arriba indicado. En caso de no ser usted el destinatario
del mismo le informamos que su recepción no le autoriza a su divulgación
o reproducción por cualquier medio, debiendo destruirlo de inmediato,
rogándole lo notifique al remitente.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]