Re: [racket-users] Plot - Choosing the number of mesh lines independently from the number of samples

2017-11-29 Thread Marduk Bolaños
Thank you Ben! I will give it a try.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Plot - Choosing the number of mesh lines independently from the number of samples

2017-11-29 Thread Marduk Bolaños
Thank you Ben! I will give it a try.

On Wednesday, November 29, 2017 at 6:04:38 PM UTC+1, Ben Greenman wrote:
>
> I don't think this is currently possible. 
>
> To implement this, I think the `for-2d-sample` loop here needs to change: 
>
> https://github.com/racket/plot/blob/master/plot-lib/plot/private/plot3d/surface.rkt#L28
>  
>
> (I guess there should be 2 loops, one to draw the surface and one to 
> draw the lines) 
>
> On Wed, Nov 29, 2017 at 8:30 AM, Marduk Bolaños  > wrote: 
> > Dear all, 
> > 
> > Recently, I made a 3D plot with surface3d, but had to increase the 
> > number of samples from the default value in order to obtain a 
> > smooth surface. Unfortunately, this change also increased the 
> > number of mesh lines, which resulted in a very dark surface. The 
> > appearance improved by painting the lines with a lighter color, 
> > but what I would really like to do is to choose the number of 
> > mesh lines that are drawn on the high-sample smooth surface. 
> > 
> > Is it currently possible? And if not, what would you suggest in 
> > order to implement it? 
> > 
> > Thanks in advance. 
> > 
> > Best, 
> > Marduk 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Racket Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to racket-users...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Plot - Choosing the number of mesh lines independently from the number of samples

2017-11-29 Thread Ben Greenman
I don't think this is currently possible.

To implement this, I think the `for-2d-sample` loop here needs to change:
https://github.com/racket/plot/blob/master/plot-lib/plot/private/plot3d/surface.rkt#L28

(I guess there should be 2 loops, one to draw the surface and one to
draw the lines)

On Wed, Nov 29, 2017 at 8:30 AM, Marduk Bolaños  wrote:
> Dear all,
>
> Recently, I made a 3D plot with surface3d, but had to increase the
> number of samples from the default value in order to obtain a
> smooth surface. Unfortunately, this change also increased the
> number of mesh lines, which resulted in a very dark surface. The
> appearance improved by painting the lines with a lighter color,
> but what I would really like to do is to choose the number of
> mesh lines that are drawn on the high-sample smooth surface.
>
> Is it currently possible? And if not, what would you suggest in
> order to implement it?
>
> Thanks in advance.
>
> Best,
> Marduk
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Plot - Choosing the number of mesh lines independently from the number of samples

2017-11-29 Thread Marduk Bolaños
Dear all,

Recently, I made a 3D plot with surface3d, but had to increase the
number of samples from the default value in order to obtain a
smooth surface. Unfortunately, this change also increased the
number of mesh lines, which resulted in a very dark surface. The
appearance improved by painting the lines with a lighter color,
but what I would really like to do is to choose the number of
mesh lines that are drawn on the high-sample smooth surface.

Is it currently possible? And if not, what would you suggest in
order to implement it?

Thanks in advance.

Best,
Marduk

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.