Re: Managing long/complicated plot commands?

"Philipp K. Janert" <[email protected]> Sat, 28 Mar 2026 17:49:33 -0400
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <20260328174933.6acf2465@puget>
On Sat, 28 Mar 2026 22:13:40 +0100
Bjorn Buckwalter <[email protected]> wrote:

> HI all,

How long (in characters) are the command lines that
you are using? Mine frequently run long, and it has
never been a problem.

Is it possible that you have problems with embedded
newlines, or that something goes awry if your command
line runs into a new line in your terminal?

Best,

		Ph.

> 
> I rather often run into a problem of my plot commands being too long,
> typically resulting in a not-very-helpful error message such as:
> 
> "$plot_polar" line 21: invalid character \
> 
> It took a lot of head scratching to realize the root of the problem. I
> assume there are strong reasons for both the limitation on command
> length and the poor error message.
> 
> I cannot be the only one running into this problem. The situation
> being what it is, what are the rest of you doing to manage when you
> run up against this limit? Replacing `linecolor` with `lc`, etc, will
> only get me so far and at the expense of readability.
> 
> Many thanks,
> Bjorn
> 
> _______________________________________________
> gnuplot-info mailing list
> [email protected]
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info



-- 

Philipp K. Janert
www.janert.me


_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info